We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e9e591 + fd42cdb commit 17e313eCopy full SHA for 17e313e
ext/opcache/zend_persist.c
@@ -692,7 +692,10 @@ static void zend_persist_op_array(zval *zv)
692
}
693
694
#ifdef HAVE_JIT
695
- if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS) {
+ if (JIT_G(on)
696
+ && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS
697
+ && (!ZCG(current_persistent_script)
698
+ || !ZCG(current_persistent_script)->corrupted)) {
699
zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->script : NULL);
700
701
#endif
0 commit comments