Browse Source

Reverted constant related change (this should be handled togrther with ohter constant related places)

pull/2880/head
Dmitry Stogov 9 years ago
parent
commit
1ab0d820da
  1. 2
      Zend/zend_execute_API.c

2
Zend/zend_execute_API.c

@ -589,7 +589,7 @@ ZEND_API int zval_update_constant_ex(zval *p, zend_class_entry *scope) /* {{{ */
return zend_use_undefined_constant(name, ast->attr, p);
}
zval_ptr_dtor_nogc(p);
ZVAL_COPY(p, zv);
ZVAL_DUP(p, zv);
} else {
zval tmp;

Loading…
Cancel
Save