summaryrefslogtreecommitdiff
path: root/tests/basic/019.phpt
blob: 3bece247a02578528152759327da0eb23f681ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
POST Method test and arrays - 7 
--POST--
a[]=1&a[]]=3&a[[]=4
--FILE--
<?php
var_dump($_POST['a']); 
?>
--EXPECT--
array(3) {
  [0]=>
  string(1) "1"
  [1]=>
  string(1) "3"
  ["["]=>
  string(1) "4"
}