Den 2015-08-20 kl. 19:11, skrev Stanislav Malyshev:
Hi!

Hm... But isn't then the safe route to revert set_exception_handler to
old behaviour
and take the rest in 7.1? I mean depending on size of problems it takes
It's not that safe if set_exception_handler is used as "handler of last
resort". Because then we have a whole class of exceptions (not
Exceptions but still exceptions) that are not caught by it.

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?

Regards //Björn Larsson
//

Reply via email to