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
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php