php-src/ext/pcre/tests/check_jit_enabled.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

19 lines
293 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)