vrana           Tue Jul 20 05:44:50 2004 EDT

  Modified files:              
    /phpdoc/en/reference/errorfunc/functions    trigger-error.xml 
  Log:
  Returns bool (bug #29273)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/errorfunc/functions/trigger-error.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/errorfunc/functions/trigger-error.xml
diff -u phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.8 
phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.9
--- phpdoc/en/reference/errorfunc/functions/trigger-error.xml:1.8       Mon Dec 15 
11:49:41 2003
+++ phpdoc/en/reference/errorfunc/functions/trigger-error.xml   Tue Jul 20 05:44:50 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/errorfunc.xml, last change in rev 1.1 -->
   <refentry id="function.trigger-error">
    <refnamediv>
@@ -11,7 +11,7 @@
    <refsect1>
     <title>Description</title>
      <methodsynopsis>
-      <type>void</type><methodname>trigger_error</methodname>
+      <type>bool</type><methodname>trigger_error</methodname>
       <methodparam><type>string</type><parameter>error_msg</parameter></methodparam>
       <methodparam 
choice="opt"><type>int</type><parameter>error_type</parameter></methodparam>
      </methodsynopsis>
@@ -21,6 +21,10 @@
      been set as the new error handler
      (<function>set_error_handler</function>). It only works with the E_USER
      family of constants, and will default to <constant>E_USER_NOTICE</constant>.
+    </para>
+    <para>
+     This function returns &false; if wrong <parameter>error_type</parameter> is
+     specified, &true; otherwise.
     </para>
     <para>
      This function is useful when

Reply via email to