Please don't top post

2009/7/24 Ben Scholzen 'DASPRiD' <m...@dasprids.de>:
> To you both, this is especially, for library code like Zend Framework.
> The library cannot expect the user to have the error handle set, so it
> would have to replace the error handler before every line which it wants
> to try {} and reset it after the catch. This is not really a clean
> solution, at it can occur pretty often.

Then ZF should provide an error handler that can be called inside the
user's error handler or simply choose to not use error handlers if the
user have a custom error handler. I can't really see why the whole
language should change into using exceptions by default because of
something like this?


-- 
regrads,

Kalle Sommer Nielsen
ka...@php.net

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

Reply via email to