bjori Mon Jan 8 10:31:06 2007 UTC
Modified files:
/phpdoc/en/reference/errorfunc/functions set-error-handler.xml
Log:
Fixed bug#40057 (merge 5.2.0 $php_errormsg changes into documentation)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/set-error-handler.xml?r1=1.33&r2=1.34&diff_format=u
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.33
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.34
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.33 Wed Apr
26 01:10:20 2006
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Mon Jan
8 10:31:05 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.33 $ -->
+<!-- $Revision: 1.34 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.set-error-handler">
<refnamediv>
@@ -177,6 +177,13 @@
</thead>
<tbody>
<row>
+ <entry>5.2.0</entry>
+ <entry>
+ The error handler must return &false; to populate <link
+ linkend="reserved.variables.phperrormsg">$php_errormsg</link>.
+ </entry>
+ </row>
+ <row>
<entry>5.0.0</entry>
<entry>
The <parameter>error_types</parameter> parameter was introduced.
@@ -240,6 +247,7 @@
echo "Unknown error type: [$errno] $errstr<br />\n";
break;
}
+ return false
}
// function to test the error handling