cvs: php4 /ext/standard/tests/array bug21182.phpt
| From: | Derick Rethans | Date: | Wed, 25 Dec 2002 20:08:36 +0000 |
| Subject: | cvs: php4 /ext/standard/tests/array bug21182.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17403@lists.php.net to get a copy of this message | ||
derick Wed Dec 25 15:08:36 2002 EDT
Added files:
/php4/ext/standard/tests/array bug21182.phpt
Log:
- Add test for bug #21182
Index: php4/ext/standard/tests/array/bug21182.phpt
+++ php4/ext/standard/tests/array/bug21182.phpt
--TEST--
Bug #21182 (range modifies arguments)
--FILE--
<?php
$a = "20"; $b = "30";
echo "a1: $a\n";
$result = range($a, $b);
echo "a2: $a : type : " . gettype($a) . "\n";
?>
--EXPECT--
a1: 20
a2: 20 : type : string