xref: /php-src/ext/opcache/tests/jit/gh14267_002.phpt (revision 04c9749e)
1--TEST--
2GH-14267: JIT cannot be enabled at runtime
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.jit=disable
7opcache.jit_buffer_size=32M
8--EXTENSIONS--
9opcache
10--SKIPIF--
11<?php
12if (ini_get('opcache.jit') === false) die('skip PHP is compiled without JIT');
13?>
14--FILE--
15<?php
16ini_set('opcache.jit', 'tracing');
17?>
18--EXPECTF--
19Warning: Cannot change opcache.jit setting at run-time (JIT is disabled) in %s on line %d
20