Re: set_exception_handler catches all Throwables
| From: | Sebastian Bergmann | Date: | Mon, 17 Aug 2015 14:24:14 +0000 |
| Subject: | Re: set_exception_handler catches all Throwables | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87767@lists.php.net to get a copy of this message | ||
Am 17.08.2015 um 16:00 schrieb Derick Rethans:
> Actually, I don't call this intended. This is just as much as a BC break
> as the original implementation where Errors where also Exceptions. IMO,
> set_exception_handler() should be changed - with my preference it not
> capturing Error, and instead have an additional set_throwable_handler().
+1