diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-04-22 11:05:56 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-04-22 11:05:56 +0300 |
commit | abacb5e8ea0f44bd1e85875e7361f1abaf4ea5a7 (patch) | |
tree | 3321bae3973790c6be08870cb4f2e9e0271058f0 | |
parent | bd86ae4b8a51e8a481f0c31e5854d2d37db11cd7 (diff) | |
download | php-git-abacb5e8ea0f44bd1e85875e7361f1abaf4ea5a7.tar.gz |
Fixed wrong opline
-rw-r--r-- | ext/opcache/Optimizer/pass1_5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/Optimizer/pass1_5.c b/ext/opcache/Optimizer/pass1_5.c index a0390a9443..8ae1d34fc0 100644 --- a/ext/opcache/Optimizer/pass1_5.c +++ b/ext/opcache/Optimizer/pass1_5.c @@ -554,7 +554,7 @@ void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx) convert_to_string(&ZEND_OP1_LITERAL(opline + 1)); zend_string_hash_val(Z_STR(ZEND_OP1_LITERAL(opline + 1))); } - SET_UNUSED(opline->op2); + SET_UNUSED((opline + 1)->op2); MAKE_NOP(opline); } break; |