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 =-

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to