On Sat, 2013-04-27 at 19:46 +0100, Robert Stoll wrote:
> I agree with Amaury. 
> Although, it is rather smelly code to use try/catch as control flow
> instrument, in some situations it is clearer to do it this way. 
> I think the new construct would be especially useful if one just wants to
> log errors (no further exception handling is necessary) as shown in previous
> examples. 

Logging is a different thing from error handling. exceptions are a tool
to handle (exceptional critically?) error situations.

johannes



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

Reply via email to