null Core_Core::shutdown_handler( )
public static function shutdown_handler()
{
$error = error_get_last();
if ( $error )
{
static $run = null;
if ( $run === true ) return;
$run = true;
if ( ((E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR) & $error['type']) !== 0 )
{
$error['file'] = Core::debug_path($error['file']);
Core::show_500(var_export($error, true));
exit();
}
}
}