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