Re: Re: com php-src: bump versions: configure.in main/php_version.h
| From: | Niklas Keller | Date: | Wed, 26 Aug 2015 11:19:38 +0000 |
| Subject: | Re: Re: com php-src: bump versions: configure.in main/php_version.h | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87929@lists.php.net to get a copy of this message | ||
Hi Björn,
> Ah yes, then a set_throwable_handler would be needed. A final question:
> Would it
be an alternative to update set_error_handler to also handle
> \Throwable\Error\*
> exceptions and let set_exception_handler catching same type of exceptions
> like
> in PHP 5?
>
set_error_handler handles something completely different, that doesn't make
any sense. I think it should just remain as is, because
set_exception_handler is really just a last resort handler, no further
actions are executed afterwards. Otherwise, would a set_throwable_handler
then catch exceptions? I'd expect it to do so.
Regards, Niklas