Re: error_handler
| From: | Andi Gutmans | Date: | Fri, 19 Dec 2003 22:13:45 +0000 |
| Subject: | Re: error_handler | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6634@lists.php.net to get a copy of this message | ||
At 03:59 PM 12/19/2003 -0500, Daniel Convissor wrote:
On Fri, Dec 19, 2003 at 09:55:22PM +0100, Michael Walter wrote: set_error_handler('foo'); @set_error_handler('foo', E_ALL); Nice! None the less, this wouldn't resolve the situation where loads of object oriented code all of a sudden starts spewing var depricated messages. Not fun.Those messages don't happen with E_ALL but only with E_ALL|E_STRICT (i.e. the person is using PHP 5 and intends to see these messages). Please stop complaining about the var depricated message, just use E_ALL! Anyway, I very strongly feel that an additional optional argument to set_error_handler() is the right way to go. Let's go this way! Andi