From b205a783ed8822505df0208b55eaec085d1bf1b5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Mar 2019 15:15:24 +0100 Subject: more upstream patch --- php-upstream.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/php-upstream.patch b/php-upstream.patch index d121d26..5b118a7 100644 --- a/php-upstream.patch +++ b/php-upstream.patch @@ -1349,3 +1349,48 @@ index 000000000000..95596800d690 +2147483647 +string(10) "2147483647" +===DONE=== +From 2e9dccef78d169be9a4a37c813e0b5d624bd5ac7 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Fri, 22 Mar 2019 15:00:31 +0100 +Subject: [PATCH] ensure pcre.jit=1 for these tests + +--- + ext/pcre/tests/preg_match_error3.phpt | 3 +++ + ext/standard/tests/general_functions/ini_get_all.phpt | 6 ++++++ + 2 files changed, 9 insertions(+) + +diff --git a/ext/pcre/tests/preg_match_error3.phpt b/ext/pcre/tests/preg_match_error3.phpt +index 2e91e24466ba..8b9d59fc58bd 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-- + ++ + --FILE-- +