On Tue, 2012-07-24 at 19:20 +0800, Laruence wrote:
> Hi:
>     As the previous threads disscussed,  I make a implemention.
> 
>     here is the RFC: https://wiki.php.net/rfc/finally
> 
>     any suggestions?
> 
> thanks

As PHP has destructors there is less need for "finally" compared to
other languages. What are the cases where an extra language construct is
needed? (i.e. one can also use C++-like RAII things ...)

The RFC is also missing to demonstrate the order of finally calls in
nested try-catch-blocks.

johannes



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

Reply via email to