mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Skip if no jit is built
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user