cvs: ZendEngine2 / zend_compile.c

From: Date: Fri, 16 Sep 2005 13:42:33 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4128@lists.php.net to get a copy of this message
dmitry Fri Sep 16 09:42:33 2005 EDT Modified files: /ZendEngine2 zend_compile.c Log: MFH (overriding of protected static property) http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.662&r2=1.663&ty=u Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.662 ZendEngine2/zend_compile.c:1.663 --- ZendEngine2/zend_compile.c:1.662 Thu Sep 8 06:32:27 2005 +++ ZendEngine2/zend_compile.c Fri Sep 16 09:42:31 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.662 2005/09/08 10:32:27 dmitry Exp $ */ +/* $Id: zend_compile.c,v 1.663 2005/09/16 13:42:31 dmitry Exp $ */ #include <zend_language_parser.h> #include "zend.h" @@ -2146,7 +2146,7 @@ } if (zend_u_hash_find(ht, utype, prot_name, prot_name_length+1, (void**)&prop) == SUCCESS) { zval **new_prop; - if (zend_u_hash_find(ht, utype, child_info->name, child_info->name_length+1, (void**)&new_prop) == SUCCESS) { + if (zend_u_hash_find(&ce->default_static_members, utype, 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;

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