RE: [PHP-DEV] [PATCH] Redirect on Error
| From: | John Coggeshall | Date: | Mon, 25 Nov 2002 06:07:33 +0000 |
| Subject: | RE: [PHP-DEV] [PATCH] Redirect on Error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91509@lists.php.net to get a copy of this message | ||
>[1] The annoying thing is that FATAL errors can't be handled
>by an error
>handler
With the patch they can be handled without any issues.
> I don't like the 500 way either, because you simply loose
>the entire
>environment
> the bug occured in.
You'll lose the entire environment in any FATAL error, period. If the
parser dies, you just have to start from scratch in terms of the env...
At least with the patch you can tell WHERE the error came from, etc.
John
>
>Met vriendelijke groeten / With kind regards,
>
>Webmaster IDG.nl
>Melvyn Sopacua
>
><@Logan> I spent a minute looking at my own code by accident.
><@Logan> I was thinking "What the hell is this guy doing?"
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>