summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2003-08-19 22:47:31 +0000
committerSVN Migration <svn@php.net>2003-08-19 22:47:31 +0000
commit26ff74d6701aceb6bd4136cb4401940dac7bdb04 (patch)
tree2514ef9e5499a75d27d21f51c820e531834bc9bd
parentb34666a0143fb5a12f29197e5a6a03ff269dc240 (diff)
downloadphp-git-26ff74d6701aceb6bd4136cb4401940dac7bdb04.tar.gz
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
-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