PHP destructor behavior problem
<p>I have found this <a href="http://bugs.php.net/bug.php?id=30210" rel="nofollow">http://bugs.php.net/bug.php?id=30210</a>, which according to the PHP team isn't a bug. What I fail to understand is why would you have the directory reset happen before the destructor. Would appreciate your views on the same and also if you can explain the behaviour compared to other languages.</p>
