Re:PHP doesn't need 'finally'
by MindTwister on Friday December 10, 2010 @08:44AM
(#1991583)
According to the linked article, the second one will not run do_something_finall() since it is after the return statement. The second one however will...
Note, this does seem to be the case for javascript:
Note, this does seem to be the case for javascript:
With finally http://jsfiddle.net/J5Cjt/
Without finally http://jsfiddle.net/C2vg7/