xref: /PHP-8.0/tests/lang/bug25145.phpt (revision 610c7fbe)
1--TEST--
2Bug #25145 (SEGV on recpt 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