cvs: ZendEngine2(PHP_5_0) / zend_execute.c

From: Date: Wed, 04 May 2005 15:25:43 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3650@lists.php.net to get a copy of this message
stas Wed May 4 11:25:43 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_execute.c Log: clarify some magic http://cvs.php.net/diff.php/ZendEngine2/zend_execute.c?r1=1.652.2.29&r2=1.652.2.30&ty=u Index: ZendEngine2/zend_execute.c diff -u ZendEngine2/zend_execute.c:1.652.2.29 ZendEngine2/zend_execute.c:1.652.2.30 --- ZendEngine2/zend_execute.c:1.652.2.29 Wed May 4 07:16:56 2005 +++ ZendEngine2/zend_execute.c Wed May 4 11:25:42 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute.c,v 1.652.2.29 2005/05/04 11:16:56 dmitry Exp $ */ +/* $Id: zend_execute.c,v 1.652.2.30 2005/05/04 15:25:42 stas Exp $ */ #define ZEND_INTENSIVE_DEBUGGING 0 @@ -1295,6 +1295,8 @@ z->refcount++; Z_OBJ_HT_P(object)->write_property(object, property, z_copy TSRMLS_CC); zval_ptr_dtor(&z_copy); + /* this would destroy z if it was returned with refcount == 0 and undo + recount++ above otherwise */ zval_ptr_dtor(&z); }

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