News for hackers. Stuff that matters.
Re:PHP doesn't need 'finally' by randombit on Friday December 10, 2010 @09:23AM (#1991690)
> No one is having problems in C/++ because of this.

No one is having problems with this in C because C doesn't have exceptions.

No one is having problems with this in C++ because C++ supports RAII via destructors which are guaranteed to run on stack unwind.

Re:PHP doesn't need 'finally' by wvenable on Friday December 10, 2010 @04:02PM (#1993168)
You can do RAII in PHP via destructors as well. That's how I "get around" this problem.