hholzgra Sat Sep 28 15:05:35 2002 EDT Modified files: /phpdoc/en/reference/misc/functions eval.xml Log: fix for Bug #15904 Index: phpdoc/en/reference/misc/functions/eval.xml diff -u phpdoc/en/reference/misc/functions/eval.xml:1.2 phpdoc/en/reference/misc/functions/eval.xml:1.3 --- phpdoc/en/reference/misc/functions/eval.xml:1.2 Wed Apr 17 02:40:42 2002 +++ phpdoc/en/reference/misc/functions/eval.xml Sat Sep 28 15:05:35 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/misc.xml, last change in rev 1.58 --> <refentry id="function.eval"> <refnamediv> @@ -34,7 +34,7 @@ <simpara> A <literal>return</literal> statement will terminate the evaluation of the string immediately. In PHP 4, <function>eval</function> returns - &false; unless <function>return</function> is called in the evaluated + &null; unless <function>return</function> is called in the evaluated code, in which case the value passed to <function>return</function> is returned. In PHP 3, <function>eval</function> does not return a value. </simpara>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php