summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-04-26 22:10:06 +0000
committerZeev Suraski <zeev@php.net>2000-04-26 22:10:06 +0000
commitfa7c418b79b99b2cc16f53ba3bd11b9c7aabc74c (patch)
tree6f8f5522f6ec1c83fadb701f16572e1714fa3e71 /Zend/zend_variables.c
parent68e54e9922df701d10990fd6b86911ef29fe0528 (diff)
downloadphp-git-fa7c418b79b99b2cc16f53ba3bd11b9c7aabc74c.tar.gz
Fix - forgot to split away if refcount>1
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) {