Commit ec6081bb0d2 for php
commit ec6081bb0d2252f9cebe2a79d9a3f20bda120ec0
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date: Fri Dec 4 12:16:10 2026 +0100
[skip ci] Fix gh25926.phpt JIT check
The opcache.jit INI setting is available even in on some systems that may not
enable it (macOS+arm+zts).
diff --git a/ext/opcache/tests/jit/gh25926.phpt b/ext/opcache/tests/jit/gh25926.phpt
index 1bf535734e1..21def3bb3bd 100644
--- a/ext/opcache/tests/jit/gh25926.phpt
+++ b/ext/opcache/tests/jit/gh25926.phpt
@@ -4,7 +4,7 @@
opcache
--SKIPIF--
<?php
-if (ini_get('opcache.jit') === false) die('skip PHP is compiled without JIT');
+if (!(opcache_get_status()['jit']['on'] ?? false)) die('skip JIT is not available');
?>
--CONFLICTS--
server