[RFC] Improved Error Callback Mechanism
| From: | Patrick ALLAERT | Date: | Fri, 13 Mar 2015 14:04:23 +0000 |
| Subject: | [RFC] Improved Error Callback Mechanism | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-84683@lists.php.net to get a copy of this message | ||
Hi Internals,
This email is to inform you that Olivier and I have opened for discussion a
new RFC in order, for PHP extensions authors, to hook more easily into the
default error handler callback:
https://wiki.php.net/rfc/improved_error_callback_mechanism
There is zero new feature for the users, nor any BC break. The changes made
to the engine are for PHP extensions developers changing the behaviour of
php_error_cb via zend_error_cb. Currently, supporting multiple extensions
that want to hook into it requires very hacky solutions to coexists.
We hope this would still be possible for PHP 7.0 as this is only about
providing more (useful) hooks and wish we could start voting on it on March
20th.
Cheers and thanks in advance,
Patrick