diff options
author | Xinchen Hui <laruence@gmail.com> | 2017-10-30 16:26:59 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2017-10-30 16:26:59 +0800 |
commit | d9de0f8683286f204facff774b87a99e2461f137 (patch) | |
tree | 185eafbe486bde13b5437535b95f38c6dc66e6d9 | |
parent | 26eb6c5bab6e9229ade5088662180d213b699fa1 (diff) | |
download | php-git-d9de0f8683286f204facff774b87a99e2461f137.tar.gz |
Use abbrev
-rw-r--r-- | ext/opcache/Optimizer/zend_inference.c | 3 |
1 files changed, 1 insertions, 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 */ |