Zeev Suraski wrote: > I don't see any advantage to that at all. The advantage would be to allow for completely different Exception implementations while still beeing able to write a generic catch() handler like
catch (Throwable $e) {} (Which does not mean that I think this really useful (for PHP, anyway) - I only wanted to show a possible solution to a problem stated in the thread) > I don't see the problem having people write catch (Exception > $foo) instead of catch ($foo). Exactly what I was thinking. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php