On Fri, May 5, 2006 6:20 am, icy wrote:
> chris smith wrote:
>>
>> What does your code look like?
>
> I just realized that when called a second time, set_error_handler()
> returns my custom error handler but it is never triggered.
> Code looks like this:
>
> <?php
>       if (set_error_handler('core_error_handler', E_ALL) === NULL)

I'm not sure E_ALL is kosher there, since E_ALL include E_ERROR, and
E_ERROR can't be caught by an error handler...

Try doing it without the E_ALL, since it's going to catch everything
it can by default anyway.
-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to