From c4490025661e8de82511e14b09fdfbcc21917004 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Sat, 12 Mar 2005 12:58:06 +0000 Subject: [PATCH] add test #forgot to add this one --- ext/pcre/tests/pcre_count.phpt | 40 ++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ext/pcre/tests/pcre_count.phpt diff --git a/ext/pcre/tests/pcre_count.phpt b/ext/pcre/tests/pcre_count.phpt new file mode 100644 index 0000000000..1239d48ffb --- /dev/null +++ b/ext/pcre/tests/pcre_count.phpt @@ -0,0 +1,40 @@ +--TEST-- +preg_replace() fifth parameter - count +--FILE-- + +--EXPECT-- +string(56) "xxxx xxxx 1-a-3-4 1-2-a-4 1-2-3-a a-a-a-a xxxx xxxx-xxxx" +int(5) +string(41) "Hxxxx xxxx xxxx xxxx xxxx 42 xxxx 13 xxxx" +int(7) +string(25) "... ... ... ... v1c0d1/|/" +int(4) +string(25) "... ... ... ... v1c0d1/|/" +NULL -- 2.40.0