summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_variables.c')
-rw-r--r--Zend/zend_variables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_variables.c b/Zend/zend_variables.c
index e57ad0de33..2fa87df02d 100644
--- a/Zend/zend_variables.c
+++ b/Zend/zend_variables.c
@@ -115,6 +115,7 @@ ZEND_API int _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
case IS_LONG:
case IS_NULL:
break;
+ case IS_CONSTANT:
case IS_STRING:
if (zvalue->value.str.val) {
if (zvalue->value.str.len==0) {