Re: [RFC] New operator for context-dependent escaping
| From: | Dan Ackroyd | Date: | Mon, 18 Jul 2016 20:29:00 +0000 |
| Subject: | Re: [RFC] New operator for context-dependent escaping | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94566@lists.php.net to get a copy of this message | ||
On 17 July 2016 at 04:49, Michael Vostrikov <michael.vostrikov@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