From: php-bug at undoso dot info Operating system: * PHP version: 5.2.6 PHP Bug Type: Class/Object related Bug description: Object destruction after the end off the script
Description: ------------ I'm opening a bug about old bug 36831. In fact I think that this bug has been closed a bit quickly. I really think that destructors should be called before any parts of the execution context is destroyed. Moreover, it is a pain to understand why PHP is saying that an exception has not been catched in unkown at line 0. It would be a lot more consistent to have destructors executed in a correct context since they are part of the script and may not be something like an extra. -- Edit bug report at http://bugs.php.net/?id=45110&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45110&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45110&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45110&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45110&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45110&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45110&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45110&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45110&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45110&r=support Expected behavior: http://bugs.php.net/fix.php?id=45110&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45110&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45110&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45110&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45110&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45110&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45110&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45110&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45110&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45110&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45110&r=mysqlcfg