set_exception_handler catches all Throwables

From: Date: Mon, 17 Aug 2015 10:31:42 +0000
Subject: set_exception_handler catches all Throwables
Groups: php.internals 
Request: Send a blank email to internals+get-87762@lists.php.net to get a copy of this message
Hi, We're trying to use TYPO3 on PHP7 and have the problem that throwables get passed to the exception handler because 'set_exception_handler()' does send all throwables to the handler, not only exceptions. Is this intended, or should a "set_throwable_handler()" function be introduced instead? Example: http://3v4l.org/b5iV6 -- Regards, Christian Weiske -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

« previous php.internals (#87762) next »