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.
1 parent 7e1e450 commit d28b75fCopy full SHA for d28b75f
ext/opcache/zend_persist.c
@@ -693,7 +693,10 @@ static void zend_persist_op_array(zval *zv)
693
}
694
695
#ifdef HAVE_JIT
696
- if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS) {
+ if (JIT_G(on)
697
+ && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS
698
+ && (!ZCG(current_persistent_script)
699
+ || !ZCG(current_persistent_script)->corrupted)) {
700
zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->script : NULL);
701
702
#endif
0 commit comments