Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Skip if no jit is built
This commit is contained in:
Xinchen Hui committed 2016-10-29 14:23:47 +08:00
commit 6b671ca3ed
2 files changed
+10

No files matched your search

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