From 12550b2c39c708d30b6e6a525ca07693079bdc0a Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 15 Sep 2017 12:29:46 +0300 Subject: [PATCH] Removed IS_TYPE_COPYABLE flag. --- ext/opcache/Optimizer/sccp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c index 9a1dee8cd91..0a97711ce93 100644 --- a/ext/opcache/Optimizer/sccp.c +++ b/ext/opcache/Optimizer/sccp.c @@ -1214,7 +1214,7 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_o if (!result) { empty_partial_array(&zv); } else { - Z_TYPE_INFO_P(result) = PARTIAL_ARRAY | ((IS_TYPE_REFCOUNTED | IS_TYPE_COPYABLE) << Z_TYPE_FLAGS_SHIFT); + Z_TYPE_INFO_P(result) = PARTIAL_ARRAY | (IS_TYPE_REFCOUNTED << Z_TYPE_FLAGS_SHIFT); ZVAL_COPY_VALUE(&zv, result); ZVAL_NULL(result); }