Bugfix #24637 __destruct not called

This commit is contained in:
Marcus Boerger 2003-08-10 23:59:35 +00:00
parent 3466a48add
commit 2bbf4ad261

View File

@ -1547,6 +1547,9 @@ static void do_inherit_parent_constructor(zend_class_entry *ce)
}
if (!ce->__call) {
ce->__call = ce->parent->__call;
}
if (!ce->destructor) {
ce->destructor = ce->parent->destructor;
}
ce->create_object = ce->parent->create_object;
if (ce->constructor) {