if (variable_ptr->refcount==0) {
switch (type) {
case IS_VAR:
- /*
- if (PZVAL_IS_LOCKED(value)) {
- zval *orig_value = value;
-
- ALLOC_ZVAL(value);
- *value = *orig_value;
- value->refcount=0;
- zval_copy_ctor(value);
- }
- */
/* break missing intentionally */
case IS_CONST:
if (variable_ptr==value) {
} else { /* we need to split */
switch (type) {
case IS_VAR:
- /*
- if (PZVAL_IS_LOCKED(value)) {
- zval *orig_value = value;
-
- ALLOC_ZVAL(value);
- *value = *orig_value;
- value->refcount=0;
- zval_copy_ctor(value);
- }
- */
/* break missing intentionally */
case IS_CONST:
if (PZVAL_IS_REF(value) && value->refcount > 0) {