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.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/016.phpt b/tests/basic/016.phpt
new file mode 100644
index 0000000..b34fd1b
--- /dev/null
+++ b/tests/basic/016.phpt
@@ -0,0 +1,15 @@
+--TEST--
+POST Method test and arrays - 4
+--POST--
+a[a]=1&a[b]=3
+--FILE--
+<?php
+var_dump($_POST['a']);
+?>
+--EXPECT--
+array(2) {
+ ["a"]=>
+ string(1) "1"
+ ["b"]=>
+ string(1) "3"
+}