From: Andrey Hristov Date: Sat, 12 Mar 2005 12:58:06 +0000 (+0000) Subject: add test X-Git-Tag: php-5.0.1b1~828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4490025661e8de82511e14b09fdfbcc21917004;p=php add test #forgot to add this one --- 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