From: Dmitry Stogov Date: Tue, 21 Jul 2020 11:11:19 +0000 (+0300) Subject: Avoid recording of uninitialized variable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be0d9126743b9beff7e3bb01fb76030f21f073cf;p=php Avoid recording of uninitialized variable --- diff --git a/ext/opcache/jit/zend_jit_vm_helpers.c b/ext/opcache/jit/zend_jit_vm_helpers.c index c55ca991d4..7668f47f2a 100644 --- a/ext/opcache/jit/zend_jit_vm_helpers.c +++ b/ext/opcache/jit/zend_jit_vm_helpers.c @@ -654,7 +654,9 @@ zend_jit_trace_stop ZEND_FASTCALL zend_jit_trace_execute(zend_execute_data *ex, } if (opline->op2_type & (IS_TMP_VAR|IS_VAR|IS_CV) && opline->opcode != ZEND_INSTANCEOF - && opline->opcode != ZEND_UNSET_STATIC_PROP) { + && opline->opcode != ZEND_UNSET_STATIC_PROP + && opline->opcode != ZEND_FE_FETCH_R + && opline->opcode != ZEND_FE_FETCH_RW) { zval *zv = EX_VAR(opline->op2.var); uint8_t flags = 0;