Skip to content

Commit 2ed7ebc

Browse files
committed
Merge branch 'PHP-8.6'
* PHP-8.6: Fix macOS nightly failure
2 parents 467bcc8 + e84206f commit 2ed7ebc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎ext/opcache/tests/jit/preload_restart_function_jit.phpt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache
66
<?php
77
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
88
if (ini_get('opcache.jit') === false) die('skip PHP is compiled without JIT');
9+
if (!(opcache_get_status()['jit']['on'] ?? false)) die('skip JIT is not available');
910
?>
1011
--INI--
1112
opcache.enable=1

‎ext/opcache/tests/jit/preload_restart_hot_counters.phpt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ opcache
66
<?php
77
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
88
if (ini_get('opcache.jit') === false) die('skip PHP is compiled without JIT');
9+
if (!(opcache_get_status()['jit']['on'] ?? false)) die('skip JIT is not available');
910
?>
1011
--INI--
1112
opcache.enable=1

0 commit comments

Comments
 (0)