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 4db7814 commit fd42cdbCopy full SHA for fd42cdb
ext/opcache/zend_persist.c
@@ -689,7 +689,10 @@ static void zend_persist_op_array(zval *zv)
689
}
690
691
#ifdef HAVE_JIT
692
- if (JIT_G(on) && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS) {
+ if (JIT_G(on)
693
+ && JIT_G(opt_level) <= ZEND_JIT_LEVEL_OPT_FUNCS
694
+ && (!ZCG(current_persistent_script)
695
+ || !ZCG(current_persistent_script)->corrupted)) {
696
zend_jit_op_array(op_array, ZCG(current_persistent_script) ? &ZCG(current_persistent_script)->script : NULL);
697
698
#endif
0 commit comments