summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2002-09-10 08:18:53 +0000
committerStanislav Malyshev <stas@php.net>2002-09-10 08:18:53 +0000
commit7fca47f1cf759edf8f94868f21a5ee5167451cad (patch)
treefb3c422430d196ab3a7d4fffec4d8be2b25d4e04 /Zend/zend_variables.c
parent184323cbe5ca9407acc41f421800df360757c6f6 (diff)
downloadphp-git-7fca47f1cf759edf8f94868f21a5ee5167451cad.tar.gz
MFZE1
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index febed52d46..b9eafec78f 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -37,7 +37,7 @@ ZEND_API void _zval_dtor(zval *zvalue ZEND_FILE_LINE_DC)
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);