Revert "r326694 | googleguy | 2012-07-18 17:38:06 -0700 (Wed, 18 Jul 2012) | 2 lines

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


This fixes bug#66362



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332523 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2013-12-29 10:06:07 +00:00
parent 386e01418a
commit 7b2313353e

View file

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