cvs: php-src(PHP_4_3) /tests/lang bug25145.phpt
| From: | Jani Taskinen | Date: | Fri, 29 Aug 2003 09:05:27 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /tests/lang bug25145.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-23493@lists.php.net to get a copy of this message | ||
sniper Fri Aug 29 05:05:27 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/tests/lang bug25145.phpt
Log:
MFH
Index: php-src/tests/lang/bug25145.phpt
diff -u php-src/tests/lang/bug25145.phpt:1.1.2.1 php-src/tests/lang/bug25145.phpt:1.1.2.2
--- php-src/tests/lang/bug25145.phpt:1.1.2.1 Tue Aug 19 18:50:38 2003
+++ php-src/tests/lang/bug25145.phpt Fri Aug 29 05:05:27 2003
@@ -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