NYCPHP Meetup

NYPHP.org

[nycphp-talk] "Finally" missing in PHP...

csnyder chsnyder at gmail.com
Tue Aug 5 11:38:39 EDT 2008


On Tue, Aug 5, 2008 at 11:14 AM, Justin Dearing <zippy1981 at gmail.com> wrote:
> So your saying finally could be implemented as
>
> if($e != null){
>   //finally stuff
> }
>

So for those of us who "grew up" on PHP, this is to handle cases when
an exception was caught somewhere in the try block, but not
necessarily caught by the top-level catch?

A real world example?



More information about the talk mailing list