Skip to content

Commit 6f8261e

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Fix SKIPIF jit test
2 parents b13f743 + 6e7e52d commit 6f8261e

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)