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