diff options
-rw-r--r-- | Zend/zend_variables.c | 2 |
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); |