mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
20 lines
290 B
PHP
20 lines
290 B
PHP
--TEST--
|
|
Check for JIT enablement status
|
|
--SKIPIF--
|
|
<?php
|
|
if (ini_get("pcre.jit") === FALSE) {
|
|
die("skip no jit built");
|
|
}
|
|
--FILE--
|
|
<?php
|
|
|
|
ob_start();
|
|
phpinfo();
|
|
$info = ob_get_contents();
|
|
ob_end_clean();
|
|
|
|
var_dump(preg_match(",PCRE JIT Support .* enabled,", $info));
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|