mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
18 lines
209 B
PHP
18 lines
209 B
PHP
--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"
|
|
}
|