From 2ca45412ed096f10df3f743425cc3ccf09ab34c0 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 22 Nov 2002 00:08:57 +0000 Subject: [PATCH] Added a test case for bug #20528. --- ext/pcre/tests/bug20528.phpt | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ext/pcre/tests/bug20528.phpt diff --git a/ext/pcre/tests/bug20528.phpt b/ext/pcre/tests/bug20528.phpt new file mode 100644 index 0000000000..5dec08dbfc --- /dev/null +++ b/ext/pcre/tests/bug20528.phpt @@ -0,0 +1,30 @@ +--TEST-- +preg_split() bug #20528 +--SKIPIF-- + +--FILE-- + +--EXPECT-- +array(7) { + [0]=> + string(2) "(#" + [1]=> + string(2) "11" + [2]=> + string(1) "/" + [3]=> + string(2) "19" + [4]=> + string(1) "/" + [5]=> + string(4) "2002" + [6]=> + string(2) "#)" +} -- 2.50.1