Changed example for ErrorException, which demonstrated wrong argument order in the construct.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326694 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sherif Ramadan 2012-07-19 00:38:06 +00:00
parent 2e72102640
commit cc4f599a5f

View file

@ -81,7 +81,7 @@
<![CDATA[
<?php
function exception_error_handler($errno, $errstr, $errfile, $errline ) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
throw new ErrorException($errstr, $errno, 0, $errfile, $errline);
}
set_error_handler("exception_error_handler");