summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2003-08-29 09:05:11 +0000
committerfoobar <sniper@php.net>2003-08-29 09:05:11 +0000
commitb78f146f7f1c3cb9f04a3ddd8d3539b7f0ee7a7c (patch)
treefd462fcbb44cc02947bb7b6079c2115278e15b83
parentaaa1cdca31643ec6bf0f6b3a43457fd366ad0867 (diff)
downloadphp-git-b78f146f7f1c3cb9f04a3ddd8d3539b7f0ee7a7c.tar.gz
- Skip with CLI
-rwxr-xr-xtests/lang/bug25145.phpt19
1 files changed, 10 insertions, 9 deletions
diff --git a/tests/lang/bug25145.phpt b/tests/lang/bug25145.phpt
index 39c83aa4f9..e33580ab0d 100755
--- a/tests/lang/bug25145.phpt
+++ b/tests/lang/bug25145.phpt
@@ -1,21 +1,22 @@
--TEST--
Bug #25145 (SEGV on recpt of form input with name like "123[]")
+--SKIPIF--
+<?php if (php_sapi_name() == 'cli') echo 'skip'; ?>
--GET--
123[]=SEGV
--FILE--
<?php
-print_r($_REQUEST);
+var_dump($_REQUEST);
echo "Done\n";
?>
--EXPECT--
-Array
-(
- [123] => Array
- (
- [0] => SEGV
- )
-
-)
+array(1) {
+ [123]=>
+ array(1) {
+ [0]=>
+ string(4) "SEGV"
+ }
+}
Done