summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/lang/bug25145.phpt21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/lang/bug25145.phpt b/tests/lang/bug25145.phpt
new file mode 100755
index 0000000000..39c83aa4f9
--- /dev/null
+++ b/tests/lang/bug25145.phpt
@@ -0,0 +1,21 @@
+--TEST--
+Bug #25145 (SEGV on recpt of form input with name like "123[]")
+--GET--
+123[]=SEGV
+--FILE--
+<?php
+
+print_r($_REQUEST);
+echo "Done\n";
+
+?>
+--EXPECT--
+Array
+(
+ [123] => Array
+ (
+ [0] => SEGV
+ )
+
+)
+Done