cvs: Zend / zend_variables.c
| From: | Stanislav Malyshev | Date: | Mon, 09 Sep 2002 15:32:02 +0000 |
| Subject: | cvs: Zend / zend_variables.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-413@lists.php.net to get a copy of this message | ||
stas Mon Sep 9 11:32:02 2002 EDT
Modified files:
/Zend zend_variables.c
Log:
take care of right IS_CONSTANT_INDEX variables destruction
fixes bug #18108
Index: Zend/zend_variables.c
diff -u Zend/zend_variables.c:1.43 Zend/zend_variables.c:1.44
--- Zend/zend_variables.c:1.43 Sat Aug 17 17:47:27 2002
+++ Zend/zend_variables.c Mon Sep 9 11:32:01 2002
@@ -37,7 +37,7 @@
if (zvalue->type==IS_LONG) {
return;
}
- switch(zvalue->type) {
+ switch(zvalue->type & ~IS_CONSTANT_INDEX) {
case IS_STRING:
case IS_CONSTANT:
CHECK_ZVAL_STRING_REL(zvalue);