[php-src] PHP-8.6: Fix macOS nightly failure

From: Date: Sun, 01 Nov 2026 13:02:55 +0000
Subject: [php-src] PHP-8.6: Fix macOS nightly failure
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-143142@lists.php.net to get a copy of this message
Author: ndossche (ndossche) Date: 2026-11-01T14:02:27+01:00 Commit: https://github.com/php/php-src/commit/3ccde25486a9d81c3f6f2c6993a6f5f5308c3be6 Raw diff: https://github.com/php/php-src/commit/3ccde25486a9d81c3f6f2c6993a6f5f5308c3be6.diff Fix macOS nightly failure Changed paths: M ext/opcache/tests/jit/preload_restart_function_jit.phpt M ext/opcache/tests/jit/preload_restart_hot_counters.phpt Diff: diff --git a/ext/opcache/tests/jit/preload_restart_function_jit.phpt b/ext/opcache/tests/jit/preload_restart_function_jit.phpt index 5571b52dfc25..ac8718d7d20b 100644 --- a/ext/opcache/tests/jit/preload_restart_function_jit.phpt +++ b/ext/opcache/tests/jit/preload_restart_function_jit.phpt @@ -6,6 +6,7 @@ opcache <?php if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows'); 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'); ?> --INI-- opcache.enable=1 diff --git a/ext/opcache/tests/jit/preload_restart_hot_counters.phpt b/ext/opcache/tests/jit/preload_restart_hot_counters.phpt index 8f6af56b1671..3a2f625eedd6 100644 --- a/ext/opcache/tests/jit/preload_restart_hot_counters.phpt +++ b/ext/opcache/tests/jit/preload_restart_hot_counters.phpt @@ -6,6 +6,7 @@ opcache <?php if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows'); 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'); ?> --INI-- opcache.enable=1

« previous php.cvs (#143142) next »