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