summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pcre/tests/preg_match_error3.phpt3
-rw-r--r--ext/standard/tests/general_functions/ini_get_all.phpt1
2 files changed, 4 insertions, 0 deletions
diff --git a/ext/pcre/tests/preg_match_error3.phpt b/ext/pcre/tests/preg_match_error3.phpt
index 2e91e24466..8b9d59fc58 100644
--- a/ext/pcre/tests/preg_match_error3.phpt
+++ b/ext/pcre/tests/preg_match_error3.phpt
@@ -5,6 +5,9 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
if (ini_get("pcre.jit") === FALSE) {
die("skip no jit built");
}
+?>
+--INI--
+pcre.jit=1
--FILE--
<?php
var_dump(preg_match('/^(foo)+$/', str_repeat('foo', 1024*8192)));
diff --git a/ext/standard/tests/general_functions/ini_get_all.phpt b/ext/standard/tests/general_functions/ini_get_all.phpt
index a90a6e83d2..ca450f1bc4 100644
--- a/ext/standard/tests/general_functions/ini_get_all.phpt
+++ b/ext/standard/tests/general_functions/ini_get_all.phpt
@@ -1,6 +1,7 @@
--TEST--
ini_get_all() tests
--INI--
+pcre.jit=1
pcre.backtrack_limit=1000000
pcre.recursion_limit=100000
--SKIPIF--