1
0
Fork 0

Added ErrorException handler.

pull/1/head
xaav 2011-06-09 07:40:41 -07:00
parent 52888f193d
commit b5bd57a43b
1 changed files with 4 additions and 0 deletions

View File

@ -18,3 +18,7 @@ spl_autoload_register(function($class)
}
});
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");