Re: set_exception_handler catches all Throwables

From: Date: Mon, 17 Aug 2015 11:14:53 +0000
Subject: Re: set_exception_handler catches all Throwables
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-87763@lists.php.net to get a copy of this message
This is intended and documented here: http://php.net/manual/en/function.set-exception-handler.php Regards, Niklas 2015-08-17 12:31 GMT+02:00 Christian Weiske <cweiske@cweiske.de>: > 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 =- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#87763) next »