News for hackers. Stuff that matters.
Re:PHP finally gets finally by ori_b on Monday August 13, 2012 @01:02PM (#4376840)
C++ has a finally equivalent in a different form: Every object gets to clean up at the end of the scope as part of it's destructor. If you're not using RAII to manage cleaning up resources at the end of a scope, it's probably a good idea to change your style a bit.
Re:PHP finally gets finally by smsm42 on Monday August 13, 2012 @02:03PM (#4377143)
PHP perfectly can do the same. But I guess people want both.