Christian Schneider wrote:
> Just checked it and no: set_error_handler does _not_ ignore the
> additional parameter, it fails and does _not_ install the handler on
> PHP4. Leave out E_ALL and it works like a charm. Am I missing something
> here?
>
> Script used to test:
> function handler()
> {
> echo "error!\n";
> }
>
> @set_error_handler("handler", E_ALL);
And why @? withou @ you see that there's a problem and can add
version_compare() or rewrite something. At least you see which you don't
when the behavior is just changed.
Lenar
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php