Browse Source

Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Skip if no jit is built
pull/2186/head
Xinchen Hui 9 years ago
parent
commit
6b671ca3ed
  1. 5
      ext/pcre/tests/check_jit_enabled.phpt
  2. 5
      ext/pcre/tests/preg_match_error3.phpt

5
ext/pcre/tests/check_jit_enabled.phpt

@ -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
ext/pcre/tests/preg_match_error3.phpt

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

Loading…
Cancel
Save