- Document return value.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@174679 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2004-12-14 11:53:48 +00:00
parent a9a37c4b6c
commit 58e38a4245
2 changed files with 10 additions and 7 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
<refentry id="function.restore-error-handler">
<refnamediv>
@ -11,17 +11,19 @@
<refsect1>
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>restore_error_handler</methodname>
<type>bool</type><methodname>restore_error_handler</methodname>
<void/>
</methodsynopsis>
<para>
Used after changing the error handler function using
<function>set_error_handler</function>, to revert to the previous error
handler (which could be the built-in or a user defined function)
handler (which could be the built-in or a user defined function). This
function always returns &true;.
</para>
<para>
See also <function>error_reporting</function>,
<function>set_error_handler</function>,
<function>restore_exception_handler</function>,
<function>trigger_error</function>.
</para>
</refsect1>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry id="function.restore-exception-handler">
<refnamediv>
<refname>restore_exception_handler</refname>
@ -10,19 +10,20 @@
<refsect1>
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>restore_exception_handler</methodname>
<type>bool</type><methodname>restore_exception_handler</methodname>
<void/>
</methodsynopsis>
<para>
Used after changing the exception handler function using
<function>set_exception_handler</function>, to revert to the previous
exception handler (which could be the built-in or a user defined
function)
function). This function always returns &true;.
</para>
<para>
See also
<function>set_exception_handler</function>,
<function>set_error_handler</function>, and
<function>set_error_handler</function>,
<function>restore_error_handler</function>
<function>error_reporting</function>
</para>
</refsect1>