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