Fix - forgot to split away if refcount>1

This commit is contained in:
Zeev Suraski 2000-04-26 22:10:06 +00:00
parent 68e54e9922
commit fa7c418b79
2 changed files with 9 additions and 1 deletions

View file

@ -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) {