Re: type hinting throwing a fatal error
| From: | Derick Rethans | Date: | Mon, 22 Aug 2005 11:34:55 +0000 |
| Subject: | Re: type hinting throwing a fatal error | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18243@lists.php.net to get a copy of this message | ||
On Mon, 22 Aug 2005, Zeev Suraski wrote:
> >It seems most are for
> >another type of error that are fatal if not "handled" in the user error
> >handler. There is just one thing... how do we signal it back from the
> >handler? Currently there is no defined return value for the user defined
> >error handler. I suggest that if you return "false" from the user
> >defined error handler than that signals that PHP should handle the error
> >(and this stop the application in case the new error type was thrown).
>
> I'm not exactly following. If you want to stop the application, why wouldn't
> you simply exit()?
I *don't* want to stop it :)
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org