revert r336038 because $errno is supposed to map to ErrorException::$severity

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336040 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2015-03-05 10:25:05 +00:00
parent 996298bb2d
commit e91739280c

View file

@ -88,7 +88,7 @@ function exception_error_handler($errno, $errstr, $errfile, $errline ) {
// This error code is not included in error_reporting
return;
}
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}
set_error_handler("exception_error_handler");