From 2c71a67fe4590f13a22c5af3739ab097de871b7c Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 12 Apr 2017 10:07:47 +0200
Subject: 7.2.0-dev 20170412

---
 php-7.0.0-oldpcre.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 php-7.0.0-oldpcre.patch

(limited to 'php-7.0.0-oldpcre.patch')

diff --git a/php-7.0.0-oldpcre.patch b/php-7.0.0-oldpcre.patch
new file mode 100644
index 0000000..19f8064
--- /dev/null
+++ b/php-7.0.0-oldpcre.patch
@@ -0,0 +1,20 @@
+diff -up ./ext/pcre/tests/bug37911.phpt.pcre834 ./ext/pcre/tests/bug37911.phpt
+--- ./ext/pcre/tests/bug37911.phpt.pcre834	2014-03-26 14:10:18.285452752 +0100
++++ ./ext/pcre/tests/bug37911.phpt	2014-03-26 14:10:40.028526763 +0100
+@@ -37,5 +37,5 @@ array(3) {
+   string(4) "blub"
+ }
+ 
+-Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
++Warning: preg_replace_callback(): Numeric named subpatterns are not allowed in %sbug37911.php on line %d
+ NULL
+diff -up ./ext/pcre/tests/match_flags3.phpt.pcre834 ./ext/pcre/tests/match_flags3.phpt
+--- ./ext/pcre/tests/match_flags3.phpt.pcre834	2014-03-26 14:06:48.792739665 +0100
++++ ./ext/pcre/tests/match_flags3.phpt	2014-03-26 14:07:31.820886128 +0100
+@@ -42,5 +42,5 @@ array(1) {
+   }
+ }
+ 
+-Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
++Warning: preg_match(): Numeric named subpatterns are not allowed in %smatch_flags3.php on line %d
+ bool(false)
-- 
cgit