cvs: ZendEngine2 / zend_compile.c

From: Date: Tue, 02 Dec 2003 12:06:04 +0000
Subject: cvs: ZendEngine2 / zend_compile.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2047@lists.php.net to get a copy of this message
andi Tue Dec 2 07:06:04 2003 EDT Modified files: /ZendEngine2 zend_compile.c Log: - Fix for bug #26182 Index: ZendEngine2/zend_compile.c diff -u ZendEngine2/zend_compile.c:1.498 ZendEngine2/zend_compile.c:1.499 --- ZendEngine2/zend_compile.c:1.498 Sat Nov 29 14:26:41 2003 +++ ZendEngine2/zend_compile.c Tue Dec 2 07:06:03 2003 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_compile.c,v 1.498 2003/11/29 19:26:41 helly Exp $ */ +/* $Id: zend_compile.c,v 1.499 2003/12/02 12:06:03 andi Exp $ */ #include "zend_language_parser.h" #include "zend.h" @@ -2553,6 +2553,10 @@ void zend_do_declare_implicit_property(TSRMLS_D) { +/* Fixes bug #26182. Not sure why we needed to do this in the first place. + Has to be checked with Zeev. +*/ +#if ANDI_0 zend_op *opline_ptr; zend_llist_element *le; zend_llist *fetch_list_ptr; @@ -2577,6 +2581,7 @@ property.u.constant.value.str.val = estrndup(opline_ptr->op2.u.constant.value.str.val, opline_ptr->op2.u.constant.value.str.len); zend_do_declare_property(&property, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_IMPLICIT_PUBLIC TSRMLS_CC); } +#endif }

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