1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 12:13:02 +02:00

Merge branch 'PHP-7.1'

* PHP-7.1:
  Skip if no jit is built
This commit is contained in:
Xinchen Hui
2016-10-29 14:23:55 +08:00
2 changed files with 10 additions and 0 deletions

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

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)));