From d9de0f8683286f204facff774b87a99e2461f137 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Mon, 30 Oct 2017 16:26:59 +0800 Subject: [PATCH] Use abbrev --- ext/opcache/Optimizer/zend_inference.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index d333947c66..1d142566ab 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -3075,8 +3075,7 @@ static int zend_update_type_info(const zend_op_array *op_array, } j = zend_ssa_next_use(ssa_ops, ssa_ops[i].result_def, j); } - if ((tmp & MAY_BE_ARRAY) - && (tmp & (MAY_BE_ARRAY_KEY_LONG|MAY_BE_ARRAY_KEY_STRING))) { + if ((tmp & MAY_BE_ARRAY) && (tmp & MAY_BE_ARRAY_KEY_ANY)) { UPDATE_SSA_TYPE(tmp, ssa_ops[i].op1_def); } else { /* invalid key type */ -- 2.40.0