From: SVN Migration Date: Tue, 19 Nov 2002 16:56:44 +0000 (+0000) Subject: This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. X-Git-Tag: php-4.3.0RC2~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6eee55fde4110673c963b638ff2bd8cd9c554dc4;p=php This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. --- diff --git a/ext/mbstring/tests/mb_parse_str.phpt b/ext/mbstring/tests/mb_parse_str.phpt new file mode 100644 index 0000000000..fcfbbd9fe4 --- /dev/null +++ b/ext/mbstring/tests/mb_parse_str.phpt @@ -0,0 +1,79 @@ +--TEST-- +mb_parse_str() +--SKIPIF-- + +--INI-- +arg_separator.input=& +--FILE-- + +--EXPECT-- +array(2) { + ["foo"]=> + string(3) "abc" + ["bar"]=> + string(3) "def" +} +string(0) "" +string(0) "" +string(3) "abc" +string(3) "def" +array(2) { + ["+foo"]=> + string(3) "def" + ["-bar"]=> + string(3) "jkl" +} +string(0) "" +string(0) "" +string(0) "" +string(0) "" +array(2) { + ["foo"]=> + array(3) { + [0]=> + string(3) "abc" + [1]=> + string(3) "def" + [2]=> + string(3) "ghi" + } + ["bar"]=> + array(1) { + [0]=> + string(3) "jkl" + } +} +string(0) "" +string(0) "" +array(3) { + [0]=> + string(3) "abc" + [1]=> + string(3) "def" + [2]=> + string(3) "ghi" +} +array(1) { + [0]=> + string(3) "jkl" +}