summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index f53aca28c4..6329030910 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1601,6 +1601,7 @@ static void do_inherit_parent_constructor(zend_class_entry *ce)
if (!ce->__call) {
ce->__call = ce->parent->__call;
}
+ ce->create_object = ce->parent->create_object;
}