RE: [PHP] parse error=> doc contains no data
| From: | Johnson, Kirk | Date: | Fri, 19 Apr 2002 13:53:43 +0000 |
| Subject: | RE: [PHP] parse error=> doc contains no data | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93696@lists.php.net to get a copy of this message | ||
Try setting error_reporting = E_ALL & ~E_NOTICE, or just E_ALL, in php.ini.
Kirk
> -----Original Message-----
> From: Pedro Garre [mailto:pgarre@ijcreditor.es]
> Sent: Friday, April 19, 2002 11:25 AM
> To: php-general
> Subject: [PHP] parse error=> doc contains no data
>
>
> I set my own error handler as described in the documentation.
> It seems to work, as I can catch NOTICE errors.
>
> The problem is that PARSE errors do not display anywhere, nor are
> catched by my error handler. The browser just says "document
> contains no
> data".
>
> I know parse errors are not supposed to be catched by my
> error handler,
> but ... why are not them processed anywhere ?
>
> (display_errors is On in php.ini)
>
> Thanks in advance.
>
> Pedro.