blob: b297265bbc7f73b4c3b54182a5ac3c8bf1300d63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
POST Method test and arrays - 3
--SKIPIF--
<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
--POST--
a[]=1&a[0]=5
--FILE--
<?php
var_dump($_POST['a']);
?>
--EXPECT--
array(1) {
[0]=>
string(1) "5"
}
|