diff options
Diffstat (limited to 'tests/basic/014.phpt')
-rw-r--r-- | tests/basic/014.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/basic/014.phpt b/tests/basic/014.phpt new file mode 100644 index 000000000..9b7e59f98 --- /dev/null +++ b/tests/basic/014.phpt @@ -0,0 +1,17 @@ +--TEST-- +POST Method test and arrays - 2 +--SKIPIF-- +<?php if (php_sapi_name()=='cli') echo 'skip'; ?> +--POST-- +a[]=1&a[]=1 +--FILE-- +<?php +var_dump($_POST['a']); +?> +--EXPECT-- +array(2) { + [0]=> + string(1) "1" + [1]=> + string(1) "1" +} |