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