Skip to content

Commit 20d2ecf

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Fix SKIPIF jit test
2 parents bc14827 + 6f8261e commit 20d2ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/tests/jit/bug80426.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ zend_test.replace_zend_execute_ex=1
99
opcache
1010
zend_test
1111
--SKIPIF--
12-
<?php if (!isset(opcache_get_status()["jit"])) die('skip: JIT is not available'); ?>
12+
<?php if ((opcache_get_status()['jit']['on'] ?? false) === false) die('skip: JIT is not available'); ?>
1313
--FILE--
1414
<?php
1515

0 commit comments

Comments
 (0)