Re: [PHP-DEV] custom error handler From: Andi Gutmans (andi <email protected>)
Date: 08/30/00

At 08:04 30/08/00 -0400, Chuck Hagenbuch wrote:
>Quoting Stanislav Malyshev <stas <email protected>>:
>
> > Well, you sorta have them with custom error handler. Though this might be
> > a valid idea too..
>
>Speaking of the custom error handler, I have a few questions about it. One -
>would it be possible for it to take the array($object, 'method') syntax?
>Also, is it intentional that fatal errors don't get passed to the error
>handler function before php terminates? I can certainly see why that would
>have to be the case, but I just wanted to make sure.
>
>Also: how possible would it be for trigger_error to return to an enclosing
>code block? That would be almost half of the exception support...

I would like to see a real try{}catch mechanism. Still thinking on how to
do it and it will need quite a big change. If we can't go the whole way we
can maybe think of something similar to your suggestion.

Andi

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>