diff options
Diffstat (limited to 'tests/lang/bug25145.phpt')
-rw-r--r-- | tests/lang/bug25145.phpt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/lang/bug25145.phpt b/tests/lang/bug25145.phpt new file mode 100644 index 0000000..9c53387 --- /dev/null +++ b/tests/lang/bug25145.phpt @@ -0,0 +1,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 |