RE: [PHP-DEV] error handling
| From: | Derick Rethans | Date: | Mon, 18 Nov 2002 08:08:29 +0000 |
| Subject: | RE: [PHP-DEV] error handling | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91222@lists.php.net to get a copy of this message | ||
On Mon, 18 Nov 2002, John Coggeshall wrote:
>
> |I know this is possible now, but not within the error handling
> |function of PHP, or without setting a custom error handler.
>
> Well, it's not really possible now -- a E_PARSE won't get thrown to a
> custom PHP handler, it'll just die with a parse error.
And this can never be supported safely, as a parse error leaves the
parse in an unstable state. Also, I really don't think that we should
try to add hacks to make this possible.
Derick
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-