At 12:53 22/08/2005, Derick Rethans wrote:
On Thu, 11 Aug 2005, Derick Rethans wrote:
> On Thu, 11 Aug 2005, Zeev Suraski wrote:
>
> > You mean it shouldn't be able to stop the application, or that the
application
> > should be able to prevent this error from stopping it? If it's the
latter,
> > then it would be possible. If it's the former, then I don't quite
> > understand...
>
> The latter is fine too.
Okay, shall I give it a go as implementation?
Yep.
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()?
Zeev
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php