30 if ($types ===
'use-php-defaults') {
31 $types = E_ALL | E_STRICT;
33 return set_error_handler($handler, $types);
43 return set_exception_handler($handler);
51 restore_exception_handler();
59 restore_error_handler();
69 register_shutdown_function($function);
77 return ob_get_clean();
85 return ob_get_level();
93 return ob_end_clean();
109 return error_reporting();
117 return error_get_last();
127 return http_response_code($httpCode);
restoreExceptionHandler()
startOutputBuffering()
Turns on output buffering.
setExceptionHandler(callable $handler)
registerShutdownFunction(callable $function)
setErrorHandler(callable $handler, $types='use-php-defaults')
stopExecution($exitStatus)
setHttpResponseCode($httpCode)
Whoops - php errors for cool kids.