summaryrefslogtreecommitdiff
path: root/tests/lang/bug25145.phpt
blob: e33580ab0def9b158590f2a7a2b8fda1af49e8b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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

var_dump($_REQUEST);
echo "Done\n";

?>
--EXPECT--
array(1) {
  [123]=>
  array(1) {
    [0]=>
    string(4) "SEGV"
  }
}
Done