> Error handlers are global anyway, so this is useless (or dangerous) for
> libraries.

Yes that's true, maybe set_error_handler can be changed so it behaves like 
register_shutdown_function or spl_autoload_register when multiple callbacks are 
registered?

Regards
Thomas


Andrea Faulds wrote on 28.01.2015 18:38:

> Hi Thomas,
> 
>> On 28 Jan 2015, at 17:36, Thomas Bley <ma...@thomasbley.de> wrote:
>> 
>> the idea behind the rfc is not to change error messages, it's only to append
>> useful information to them.
> 
> That’s still changing the message.
> 
> Error handlers are global anyway, so this is useless (or dangerous) for
> libraries.
> 
> I don’t get it.
> 
> --
> Andrea Faulds
> http://ajf.me/
> 
> 
> 
> 


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to