Re: [PHP4BETA] silent exit on parse-error
| From: | Hartmut Holzgraefe | Date: | Tue, 18 Jan 2000 13:04:14 +0000 |
| Subject: | Re: [PHP4BETA] silent exit on parse-error | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9225@lists.php.net to get a copy of this message | ||
Teodor Cimpoesu wrote:
> Hartmut Holzgraefe wrote:
> >
> > i can't reproduce this one with a simple test case, but
> >
> > in my current application parse errors inside of include files
> > ( especially missing or additional brackets )
> > sometimes leave me with a "document comntains no data" message
> > and without any message in error_log or elsewhere
> >
> > the normal behavior ( as reproduced in small test cases ) would
> > be to report the parse error, deny execution of the included code
> > and continue just behind the include-statement
> >
> > here instead excecution of the hole script seems to be silently
> > terminating .....
> >
> > ... any ideas anyone ? ...
> What's your error reporting level? [see php.ini]
> More exactly the "Error handling and logging".
>
error_reporting = 15
display_errors = Off
log_errors = On
track_errors = On
Sorry, but this is not the cause of my problem
i _do_ get error messages in all the test cases i tried to create
and execution continues after the include-statement that failed
but in my real application the script just "disappears" ...
... and finding out why ( syntax error in included file ) was rather by
accident
( and the help of good old emacs autoindent and syntax/parent highlight
mode )
>
> --
> CIMPOESU Teodor, Web Programmer
>
> @ DIGICOM S.A. Bucharest, Romania
> @ Internet, site development
> @ teo@digiro.net , +(401)-330.47.28
>
> official home page ~ http://www.digiro.net/
> Internet web page ~ http://internet.digiro.net/
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net