We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 825d2d9 commit 2da4703Copy full SHA for 2da4703
1 file changed
ext/opcache/tests/jit/gh14267_001.phpt
@@ -7,11 +7,14 @@ opcache.jit=off
7
opcache.jit_buffer_size=32M
8
--EXTENSIONS--
9
opcache
10
+--SKIPIF--
11
+<?php
12
+if (!(opcache_get_status()['jit']['enabled'] ?? false)) die('skip JIT is not available');
13
+?>
14
--FILE--
15
<?php
16
ini_set('opcache.jit', 'tracing');
17
?>
18
===DONE===
---EXPECTREGEX--
-^(?:Warning: Cannot change opcache\.jit setting at run-time \(JIT is disabled\) in .+ on line 2
-)?===DONE===$
19
+--EXPECT--
20
+===DONE===
0 commit comments