On Tue, Feb 28, 2012 at 3:36 PM, Simon Schick <simonsimc...@googlemail.com>wrote:
> Hi, Dmitri > > Great that someone's mentioning it. > I thought about that several times but did not put it in here. > > This is a must-have for me. Really useful if you're working with external > resources (streams, database connection etc). > I used a destructor until now for stuff like that but there are some > situations where a destructor won't be called. > > http://stackoverflow.com/questions/2385047/when-will-destruct-not-be-called-in-php > > Bye > Simon > > https://bugs.php.net/bug.php?id=36779 -- Ferenc Kovács @Tyr43l - http://tyrael.hu