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