summaryrefslogtreecommitdiff
path: root/tests/basic/019.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/019.phpt')
-rw-r--r--tests/basic/019.phpt19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/basic/019.phpt b/tests/basic/019.phpt
new file mode 100644
index 000000000..467d4e6bf
--- /dev/null
+++ b/tests/basic/019.phpt
@@ -0,0 +1,19 @@
+--TEST--
+POST Method test and arrays - 7
+--SKIPIF--
+<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
+--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"
+}