Skip to content

Commit dab783f

Browse files
committed
Fix operator precedence in the skip section of readonly tests
1 parent 0c7fc35 commit dab783f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Zend/tests/readonly_props/readonly_clone_error1.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Readonly property cannot be reset twice during cloning
33
--SKIPIF--
44
<?php
5-
if (function_exists('opcache_get_status') && opcache_get_status()["jit"]["enabled"] ?? false) {
5+
if (function_exists('opcache_get_status') && (opcache_get_status()["jit"]["enabled"] ?? false)) {
66
die('skip Not yet implemented for JIT');
77
}
88
?>

Zend/tests/readonly_props/readonly_clone_success1.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Readonly property can be reset once during cloning
33
--SKIPIF--
44
<?php
5-
if (function_exists('opcache_get_status') && opcache_get_status()["jit"]["enabled"] ?? false) {
5+
if (function_exists('opcache_get_status') && (opcache_get_status()["jit"]["enabled"] ?? false)) {
66
die('skip Not yet implemented for JIT');
77
}
88
?>

Zend/tests/readonly_props/readonly_clone_success3.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
__clone() can indirectly modify unlocked readonly properties
33
--SKIPIF--
44
<?php
5-
if (function_exists('opcache_get_status') && opcache_get_status()["jit"]["enabled"] ?? false) {
5+
if (function_exists('opcache_get_status') && (opcache_get_status()["jit"]["enabled"] ?? false)) {
66
die('skip Not yet implemented for JIT');
77
}
88
?>

0 commit comments

Comments
 (0)