diff options
Diffstat (limited to 'tests/basic/017.phpt')
-rw-r--r-- | tests/basic/017.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/basic/017.phpt b/tests/basic/017.phpt new file mode 100644 index 0000000..d514726 --- /dev/null +++ b/tests/basic/017.phpt @@ -0,0 +1,17 @@ +--TEST-- +POST Method test and arrays - 5 +--POST-- +a[]=1&a[a]=1&a[b]=3 +--FILE-- +<?php +var_dump($_POST['a']); +?> +--EXPECT-- +array(3) { + [0]=> + string(1) "1" + ["a"]=> + string(1) "1" + ["b"]=> + string(1) "3" +} |