From da9f5156484c7d6a1778f74c77c85e5dc3ad0e37 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Fri, 9 Feb 2007 20:00:17 +0000 Subject: [PATCH] new test to keep track of the reported pcre regression --- ext/pcre/tests/bug40195.phpt | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ext/pcre/tests/bug40195.phpt diff --git a/ext/pcre/tests/bug40195.phpt b/ext/pcre/tests/bug40195.phpt new file mode 100644 index 0000000000..0de625c365 --- /dev/null +++ b/ext/pcre/tests/bug40195.phpt @@ -0,0 +1,45 @@ +--TEST-- +Bug #40195: pcre 6.7 regression +--FILE-- + +--EXPECT-- +int(1) +array(3) { + [0]=> + string(7) "//abcde" + [1]=> + string(6) "/abcde" + [2]=> + string(5) "abcde" +} +int(1) +array(2) { + [0]=> + string(7) "//abcde" + [1]=> + string(6) "/abcde" +} +int(1) +array(3) { + [0]=> + string(8) "/a/abcde" + [1]=> + string(6) "/abcde" + [2]=> + string(5) "abcde" +} +int(1) +array(2) { + [0]=> + string(8) "/a/abcde" + [1]=> + string(6) "/abcde" +} -- 2.50.1