summaryrefslogtreecommitdiff
path: root/tests/basic/014.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/014.phpt')
-rw-r--r--tests/basic/014.phpt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/014.phpt b/tests/basic/014.phpt
new file mode 100644
index 0000000..7288c44
--- /dev/null
+++ b/tests/basic/014.phpt
@@ -0,0 +1,15 @@
+--TEST--
+POST Method test and arrays - 2
+--POST--
+a[]=1&a[]=1
+--FILE--
+<?php
+var_dump($_POST['a']);
+?>
+--EXPECT--
+array(2) {
+ [0]=>
+ string(1) "1"
+ [1]=>
+ string(1) "1"
+}