From 1ab0d820dabc612b7d371d6ed524f60f68101d0f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 26 Oct 2017 22:43:45 +0300 Subject: [PATCH] Reverted constant related change (this should be handled togrther with ohter constant related places) --- Zend/zend_execute_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0