Fixed #45628 (set_error_handler() return type wrongly documented)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268101 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kalle Sommer Nielsen 2008-11-01 06:11:19 +00:00
parent d73bfcbec2
commit bc81b2bc29

View file

@ -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>