* PHP-7.0: Skip if no jit is built
@ -1,5 +1,10 @@
--TEST--
Check for JIT enablement status
--SKIPIF--
<?php
if (ini_get("pcre.jit") === FALSE) {
die("skip no jit built");
}
--FILE--
Test preg_match() function : error conditions - jit stacklimit exhausted
var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));