On 17 July 2016 at 04:49, Michael Vostrikov <michael.vostri...@gmail.com> wrote:

> If some library really need to replace existing handler of application, it 
> can call unregisterHandler() directly.

But then there is no way to restore the previous handler.

> usually we don't need multiple handlers for certain context.

Stuff that is added to the core needs to cover all use-cases, not just
the typical ones.

> I tried not to invent new mechanisms of usage.

Then please copy the set_error_handler behaviour.

cheers
Dan

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

Reply via email to