mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
- Skip with CLI
This commit is contained in:
parent
aaa1cdca31
commit
b78f146f7f
@ -1,21 +1,22 @@
|
||||
--TEST--
|
||||
Bug #25145 (SEGV on recpt of form input with name like "123[]")
|
||||
--SKIPIF--
|
||||
<?php if (php_sapi_name() == 'cli') echo 'skip'; ?>
|
||||
--GET--
|
||||
123[]=SEGV
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
print_r($_REQUEST);
|
||||
var_dump($_REQUEST);
|
||||
echo "Done\n";
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Array
|
||||
(
|
||||
[123] => Array
|
||||
(
|
||||
[0] => SEGV
|
||||
)
|
||||
|
||||
)
|
||||
array(1) {
|
||||
[123]=>
|
||||
array(1) {
|
||||
[0]=>
|
||||
string(4) "SEGV"
|
||||
}
|
||||
}
|
||||
Done
|
||||
|
Loading…
Reference in New Issue
Block a user