From: Dmitry Stogov Date: Thu, 26 Oct 2017 19:43:45 +0000 (+0300) Subject: Reverted constant related change (this should be handled togrther with ohter constant... X-Git-Tag: php-7.3.0alpha1~1162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ab0d820dabc612b7d371d6ed524f60f68101d0f;p=php Reverted constant related change (this should be handled togrther with ohter constant related places) --- diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 7792325af8..e69a84ba6b 100644 --- a/Zend/zend_execute_API.c +++ b/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;