On 16 August 2007 14:10, Jakub Vrana wrote:

> vrana         Thu Aug 16 13:10:28 2007 UTC
> 
>   Modified files:
>     /phpdoc/en/reference/misc/functions       eval.xml
>   Log:
>   Parse error (bug #41890)
 
>      In case of a
>     parse error in the evaluated code,
> <function>eval</function> returns
> -   &false;.
> +   &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>.

There's a couple of grammatical errors in there, and the style could be
improved some; I suggest rewriting the whole of the last two sentences
like this:

     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>.


Cheers!

Mike

----------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
JG125, The Headingley Library
James Graham Building, Headingley Campus
Tel: extn 24730        Fax: extn 23211 


To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

Reply via email to