cvs: ZendEngine2(PHP_5_1) / zend_compile.c

From: Date: Fri, 16 Sep 2005 13:42:49 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4129@lists.php.net to get a copy of this message
dmitry Fri Sep 16 09:42:49 2005 EDT Modified files: (Branch: PHP_5_1) /ZendEngine2 zend_compile.c Log: MFH (overriding of protected static property) http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.647.2.4&r2=1.647.2.5&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.647.2.4 ZendEngine2/zend_compile.c:1.647.2.5 --- ZendEngine2/zend_compile.c:1.647.2.4 Fri Sep 9 02:48:47 2005 +++ ZendEngine2/zend_compile.c Fri Sep 16 09:42:49 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.647.2.4 2005/09/09 06:48:47 dmitry Exp $ */ +/* $Id: zend_compile.c,v 1.647.2.5 2005/09/16 13:42:49 dmitry Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -2062,7 +2062,7 @@ } if (zend_hash_find(ht, prot_name, prot_name_length+1, (void**)&prop) == SUCCESS) { zval **new_prop; - if (zend_hash_find(ht, child_info->name, child_info->name_length+1, (void**)&new_prop) == SUCCESS) { + if (zend_hash_find(&ce->default_static_members, child_info->name, child_info->name_length+1, (void**)&new_prop) == SUCCESS) { if (Z_TYPE_PP(new_prop) != IS_NULL && Z_TYPE_PP(prop) != IS_NULL) { char *prop_name, *tmp; zend_unmangle_property_name(child_info->name, &tmp, &prop_name);

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