summaryrefslogtreecommitdiff
path: root/tests/basic/014.phpt
blob: 7288c44a927615d43e1d8a4d3f7ad009db94e7bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"
}