cvs: phpdoc /en/reference/errorfunc/functions set-error-handler.xml
| From: | Kalle Sommer Nielsen | Date: | Sat, 01 Nov 2008 06:11:19 +0000 |
| Subject: | cvs: phpdoc /en/reference/errorfunc/functions set-error-handler.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2354@lists.php.net to get a copy of this message | ||
kalle Sat Nov 1 06:11:19 2008 UTC
Modified files:
/phpdoc/en/reference/errorfunc/functions set-error-handler.xml
Log:
Fixed #45628 (set_error_handler() return type wrongly documented)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/errorfunc/functions/set-error-handler.xml?r1=1.39&r2=1.40&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.39
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.40
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.39 Sat Aug 23 15:40:22 2008
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml Sat Nov 1 06:11:19 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.39 $ -->
+<!-- $Revision: 1.40 $ -->
<refentry xml:id="function.set-error-handler" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>set_error_handler</refname>
@@ -157,10 +157,11 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns a string containing the previously defined
- error handler (if any), or &null; on error. If the previous handler
- was a class method, this function will return an indexed array with
- the class and the method name.
+ Returns a string containing the previously defined error handler (if any). If
+ the built-in error handler is used &null; is returned. &null is also returned
+ in case of an error such as an invalid callback. If the previous error handler
+ was a class method, this function will return an indexed array with the class
+ and the method name.
</para>
</refsect1>