derick          Tue Dec 14 06:53:52 2004 EDT

  Modified files:              
    /phpdoc/en/reference/errorfunc/functions    restore-error-handler.xml 
                                                restore-exception-handler.xml 
  Log:
  - Document return value.
  
  
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.4 
phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.5
--- phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml:1.4       
Mon Nov  1 11:31:23 2004
+++ phpdoc/en/reference/errorfunc/functions/restore-error-handler.xml   Tue Dec 
14 06:53:48 2004
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml
diff -u 
phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml:1.2 
phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml:1.3
--- phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml:1.2   
Mon Nov  1 11:31:24 2004
+++ phpdoc/en/reference/errorfunc/functions/restore-exception-handler.xml       
Tue Dec 14 06:53:48 2004
@@ -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>

Reply via email to