dis-bench / src /php /php-src /tests /basic /019.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
209 Bytes
--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"
}