public static function prevention_et_gestion_erreurs_fatales($memory, $time) { if ($memory) { Erreur500::augmenter_memory_limit(); } if ($time) { Erreur500::augmenter_max_execution_time(); } register_shutdown_function(array('Erreur500', 'rapporter_erreur_fatale_memoire_ou_duree')); // @see http://fr.php.net/manual/fr/language.types.callable.php }