Description
The following code:
<?php
ini_set('opcache.jit', 'tracing');
class Foo {
public function __destruct() {
}
}
const FOO = new Foo;
?>
Resulted in this output:
php: ext/opcache/jit/zend_jit_ir.c:3655: int zend_jit_bb_start(zend_jit_ctx *, int): Assertion `(jit_globals.trigger) != 5' failed.
Aborted (core dumped)
To reproduce:
-d "extension_dir=/php-src/modules/" -d "zend_extension=/php-src/modules/opcache.so" -d "session.auto_start=0" -d "opcache.enable=1" -d "opcache.enable_cli=1" -d "opcache.jit=1215"
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04