From: Nuno Lopes Date: Fri, 9 Feb 2007 20:00:17 +0000 (+0000) Subject: new test to keep track of the reported pcre regression X-Git-Tag: php-5.2.2RC1~436 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da9f5156484c7d6a1778f74c77c85e5dc3ad0e37;p=php new test to keep track of the reported pcre regression --- 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" +}