summaryrefslogtreecommitdiff
path: root/tests/lang/bug25145.phpt
blob: 9c533871a84d82045718d6aa6dda835c04544ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
Bug #25145 (SEGV on recpt of form input with name like "123[]")
--GET--
123[]=SEGV
--FILE--
<?php

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

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