|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-11 22:02 UTC] tony2001@php.net
[2005-11-12 09:41 UTC] tony2001@php.net
[2005-11-12 11:34 UTC] xmlfrance at gmail dot com
[2005-11-14 23:00 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 22:00:01 2025 UTC |
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