summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-19 22:47:30 +0000
committerMarcus Boerger <helly@php.net>2003-08-19 22:47:30 +0000
commit96d7f06e37bea919eaa305100f4962506f206fbb (patch)
treeec626a80c29a1799b6258823234821e8eafe1665
parentef088c9d16b45047418ecda02239525c68b1f993 (diff)
downloadphp-git-96d7f06e37bea919eaa305100f4962506f206fbb.tar.gz
Add test for #25145
-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