Skip to content

Commit bb47fb0

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: ensure pcre.jit=1 for these tests
2 parents 30ddfd4 + 2e9dcce commit bb47fb0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ext/pcre/tests/preg_match_error3.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
55
if (ini_get("pcre.jit") === FALSE) {
66
die("skip no jit built");
77
}
8+
?>
9+
--INI--
10+
pcre.jit=1
811
--FILE--
912
<?php
1013
var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));

ext/standard/tests/general_functions/ini_get_all.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
--TEST--
22
ini_get_all() tests
33
--INI--
4+
pcre.jit=1
45
pcre.backtrack_limit=1000000
56
pcre.recursion_limit=100000
67
--SKIPIF--

0 commit comments

Comments
 (0)