mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
16 lines
215 B
Plaintext
16 lines
215 B
Plaintext
|
--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"
|
||
|
}
|