Add missing check

This commit is contained in:
Marcus Boerger 2004-08-14 19:02:17 +00:00
parent 7ccbed42c8
commit e45270dd2f

View File

@ -2012,6 +2012,11 @@ void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRML
zend_hash_merge(&ce->constants_table, &parent_ce->constants_table, (void (*)(void *)) zval_add_ref, NULL, sizeof(zval *), 0);
zend_hash_merge_ex(&ce->function_table, &parent_ce->function_table, (copy_ctor_func_t) do_inherit_method, sizeof(zend_function), (merge_checker_func_t) do_inherit_method_check, ce);
do_inherit_parent_constructor(ce);
if ((ce->ce_flags & ZEND_ACC_IMPLICIT_ABSTRACT_CLASS) && !(ce->ce_flags & ZEND_ACC_EXPLICIT_ABSTRACT_CLASS))
{
zend_verify_abstract_class(ce TSRMLS_CC);
}
}