Re: set_exception_handler catches all Throwables

From: Date: Mon, 17 Aug 2015 11:19:00 +0000
Subject: Re: set_exception_handler catches all Throwables
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-87764@lists.php.net to get a copy of this message
Hello Niklas, >This is intended and documented here: >http://php.net/manual/en/function.set-exception-handler.php If "Documented" means the note > Note that providing an explicit Exception type hint for the ex > parameter in your callback will cause issues with the changed > exception hierarchy in PHP 7. then yes, it's documented. But I'd not see this as documented or rather liked a more explicit mention of Throwables there. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

« previous php.internals (#87764) next »