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