vrana Fri Aug 17 01:59:28 2007 UTC
Modified files: /phpdoc/en/reference/misc/functions eval.xml Log: Grammar (thanks to Mike Ford) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/eval.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc/en/reference/misc/functions/eval.xml diff -u phpdoc/en/reference/misc/functions/eval.xml:1.23 phpdoc/en/reference/misc/functions/eval.xml:1.24 --- phpdoc/en/reference/misc/functions/eval.xml:1.23 Thu Aug 16 13:10:28 2007 +++ phpdoc/en/reference/misc/functions/eval.xml Fri Aug 17 01:59:28 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <refentry xml:id="function.eval" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>eval</refname> @@ -58,11 +58,11 @@ <para> 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 case of a - parse error in the evaluated code, <function>eval</function> returns - &false;. Normal code continues in execution after parse error in - <function>eval</function> and this error can not be catched by - <function>set_error_handler</function>. + the value passed to <literal>return</literal> is returned. If there is a + parse error in the evaluated code, <function>eval</function> returns + &false; and execution of the following code continues normally. It is + not possible to catch a parse error in <function>eval</function> + using <function>set_error_handler</function>. </para> </refsect1>