cvs: ZendEngine2(PHP_5_0) / zend.c
| From: | Stanislav Malyshev | Date: | Wed, 18 May 2005 18:10:17 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3669@lists.php.net to get a copy of this message | ||
stas Wed May 18 14:10:17 2005 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend.c
Log:
fix for #29890 - part 2
http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.287.2.6&r2=1.287.2.7&ty=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.287.2.6 ZendEngine2/zend.c:1.287.2.7
--- ZendEngine2/zend.c:1.287.2.6 Fri May 13 19:15:21 2005
+++ ZendEngine2/zend.c Wed May 18 14:10:17 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.287.2.6 2005/05/13 23:15:21 tony2001 Exp $ */
+/* $Id: zend.c,v 1.287.2.7 2005/05/18 18:10:17 stas Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -970,6 +970,7 @@
z_context->value.ht = EG(active_symbol_table);
z_context->type = IS_ARRAY;
ZVAL_ADDREF(z_context); /* we don't want this one to be freed */
+ z_context->is_ref = 1;
params = (zval ***) emalloc(sizeof(zval **)*5);
params[0] = &z_error_type;