2003-08-19 22:47:30 +00:00
|
|
|
--TEST--
|
|
|
|
Bug #25145 (SEGV on recpt of form input with name like "123[]")
|
2003-08-29 09:05:11 +00:00
|
|
|
--SKIPIF--
|
|
|
|
<?php if (php_sapi_name() == 'cli') echo 'skip'; ?>
|
2003-08-19 22:47:30 +00:00
|
|
|
--GET--
|
|
|
|
123[]=SEGV
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
2003-08-29 09:05:11 +00:00
|
|
|
var_dump($_REQUEST);
|
2003-08-19 22:47:30 +00:00
|
|
|
echo "Done\n";
|
|
|
|
|
|
|
|
?>
|
|
|
|
--EXPECT--
|
2003-08-29 09:05:11 +00:00
|
|
|
array(1) {
|
|
|
|
[123]=>
|
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
string(4) "SEGV"
|
|
|
|
}
|
|
|
|
}
|
2003-08-19 22:47:30 +00:00
|
|
|
Done
|
2006-02-13 10:23:59 +00:00
|
|
|
--UEXPECT--
|
|
|
|
array(1) {
|
|
|
|
[123]=>
|
|
|
|
array(1) {
|
|
|
|
[0]=>
|
|
|
|
unicode(4) "SEGV"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Done
|
|
|
|
|