15 const EXCEPTION_HANDLER =
"handleException";
16 const ERROR_HANDLER =
"handleError";
17 const SHUTDOWN_HANDLER =
"handleShutdown";
26 public function pushHandler(
$handler);
34 public function popHandler();
42 public function getHandlers();
50 public function clearHandlers();
57 public function register();
64 public function unregister();
72 public function allowQuit($exit = null);
81 public function silenceErrorsInPaths($patterns, $levels = 10240);
91 public function sendHttpCode(
$code = null);
100 public function writeToOutput($send = null);
109 public function handleException($exception);
125 public function handleError($level,
$message,
$file = null, $line = null);
130 public function handleShutdown();
catch(Exception $e) $message
Whoops - php errors for cool kids.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file