Re: parse error=> doc contains no data
| From: | Jason Wong | Date: | Fri, 19 Apr 2002 10:35:05 +0000 |
| Subject: | Re: parse error=> doc contains no data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93659@lists.php.net to get a copy of this message | ||
On Saturday 20 April 2002 01:24, Pedro Garre wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi,
>
> 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)
Parse errors cannot be trapped.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
He hath eaten me out of house and home.
-- William Shakespeare, "Henry IV"
*/