xref: /PHP-8.3/tests/lang/bug25145.phpt (revision 462da6e0)
1--TEST--
2Bug #25145 (SEGV on receipt of form input with name like "123[]")
3--GET--
4123[]=SEGV
5--FILE--
6<?php
7
8var_dump($_REQUEST);
9echo "Done\n";
10
11?>
12--EXPECT--
13array(1) {
14  [123]=>
15  array(1) {
16    [0]=>
17    string(4) "SEGV"
18  }
19}
20Done
21