cvs: ZendEngine2 / zend_compile.c

From: Date: Sat, 14 Aug 2004 19:02:17 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2866@lists.php.net to get a copy of this message
helly Sat Aug 14 15:02:17 2004 EDT Modified files: /ZendEngine2 zend_compile.c Log: Add missing check http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.576&r2=1.577&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.576 ZendEngine2/zend_compile.c:1.577 --- ZendEngine2/zend_compile.c:1.576 Thu Aug 12 01:54:11 2004 +++ ZendEngine2/zend_compile.c Sat Aug 14 15:02:17 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.576 2004/08/12 05:54:11 andi Exp $ */ +/* $Id: zend_compile.c,v 1.577 2004/08/14 19:02:17 helly Exp $ */ #include "zend_language_parser.h" #include "zend.h" @@ -2012,6 +2012,11 @@ 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); + } }

« previous php.zend-engine.cvs (#2866) next »