Example #1: correct the order of parameters

$errno should be the 2nd parameter.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336038 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
TAKAGI Masahiro 2015-03-05 09:13:29 +00:00
parent 5650ac40be
commit 996298bb2d

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, 0, $errno, $errfile, $errline);
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
}
set_error_handler("exception_error_handler");