ID: 35197 Updated by: [EMAIL PROTECTED] Reported By: xmlfrance at gmail dot com -Status: Assigned +Status: Closed Bug Type: DOM XML related Operating System: Debian GNU/Linux SID PHP Version: 5.0.5 and 5.1.0RC5-dev Assigned To: tony2001 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed in PHP 6, PHP 5.1 & PHP 5.0.6. Previous Comments: ------------------------------------------------------------------------ [2005-11-12 11:34:08] xmlfrance at gmail dot com Is there a correction for PHP 5.0.x ? I must specify minimal configuration to use my framework. ------------------------------------------------------------------------ [2005-11-12 09:41:11] [EMAIL PROTECTED] Reassigned to myself. I'll commit the patch (http://tony2001.phpclub.net/dev/tmp/bug35197.diff) after the release. ------------------------------------------------------------------------ [2005-11-11 22:02:58] [EMAIL PROTECTED] Christian, please have a look at it. ------------------------------------------------------------------------ [2005-11-11 21:59:27] xmlfrance at gmail dot com Description: ------------ My classes extending DOMDocument don't call the destructor. Reproduce code: --------------- <?php class Foo extends DOMDocument { function __construct() { print('Construction'); } function __destruct() { print('Destruction'); } } $o = new Foo; /* I've also tried unset($o) */ ?> Expected result: ---------------- ConstructionDestruction Actual result: -------------- Construction ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35197&edit=1