Re: custom error handler

From: Date: Wed, 30 Aug 2000 18:02:36 +0000
Subject: Re: custom error handler
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-31288@lists.php.net to get a copy of this message
At 08:04 30/08/00 -0400, Chuck Hagenbuch wrote:
Quoting Stanislav Malyshev <stas@zend.com>: 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@zend.com> http://www.zend.com/

« previous php.dev (#31288) next »