vrana           Sat Aug  7 06:12:15 2004 EDT

  Modified files:              
    /phpdoc/en/reference/misc/functions eval.xml 
  Log:
  Return value with fatal error (bug #24135)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/misc/functions/eval.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc/en/reference/misc/functions/eval.xml
diff -u phpdoc/en/reference/misc/functions/eval.xml:1.8 
phpdoc/en/reference/misc/functions/eval.xml:1.9
--- phpdoc/en/reference/misc/functions/eval.xml:1.8     Thu Jul 22 20:18:22 2004
+++ phpdoc/en/reference/misc/functions/eval.xml Sat Aug  7 06:12:15 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
 <!-- splitted from ./en/functions/misc.xml, last change in rev 1.58 -->
   <refentry id="function.eval">
    <refnamediv>
@@ -36,7 +36,9 @@
      the string immediately. As of PHP 4, <function>eval</function> returns
      &null; unless <literal>return</literal> is called in the evaluated
      code, in which case the value passed to <literal>return</literal> is
-     returned. In PHP 3, <function>eval</function> does not return a value.
+     returned. In case of fatal error in evaluated code,
+     <function>eval</function> returns &false;.
+     In PHP 3, <function>eval</function> does not return a value.
     </simpara>
     <para>
      <example>

Reply via email to