diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-30 19:50:56 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-06-30 19:50:56 +0200 |
commit | 5d7be2c2bc75a33b780c232f4606518576d0fd9b (patch) | |
tree | 340db8e21f3aca6de43642f736b1ee0ac4b607d7 | |
parent | abbc1e683c1277a85988e300b82cdea28e519f73 (diff) | |
parent | 34deda13a8ff13df825d412312232f845d1cf387 (diff) | |
download | php-git-5d7be2c2bc75a33b780c232f4606518576d0fd9b.tar.gz |
Merge branch 'PHP-7.2'
-rw-r--r-- | ext/opcache/Optimizer/zend_inference.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c index b6239d8c82..92a4cbeaea 100644 --- a/ext/opcache/Optimizer/zend_inference.c +++ b/ext/opcache/Optimizer/zend_inference.c @@ -2496,7 +2496,7 @@ static int zend_update_type_info(const zend_op_array *op_array, if (opline->extended_value == ZEND_ASSIGN_DIM) { if (opline->op1_type == IS_CV) { - orig = assign_dim_result_type(orig, OP2_INFO(), tmp, opline->op1_type); + orig = assign_dim_result_type(orig, OP2_INFO(), tmp, opline->op2_type); UPDATE_SSA_TYPE(orig, ssa_ops[i].op1_def); COPY_SSA_OBJ_TYPE(ssa_ops[i].op1_use, ssa_ops[i].op1_def); } |