1--TEST--
2opcache_get_configuration() properly reports jit_prof_threshold
3--EXTENSIONS--
4opcache
5--SKIPIF--
6<?php
7if (!isset(opcache_get_configuration()["directives"]["opcache.jit_prof_threshold"])) die("skip no JIT");
8?>
9--FILE--
10<?php
11$expected = 1 / 128; // needs to be exactly representable as IEEE double
12ini_set("opcache.jit_prof_threshold", $expected);
13$actual = opcache_get_configuration()["directives"]["opcache.jit_prof_threshold"];
14var_dump($actual);
15var_dump($actual === $expected);
16?>
17--EXPECTF--
18float(0.0078125)
19bool(true)
20