Bug ?
| From: | Ciprian Trofin | Date: | Sat, 05 Apr 2003 06:40:19 +0000 |
| Subject: | Bug ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142487@lists.php.net to get a copy of this message | ||
I tried something like this:
<?
$arrayA = array(5,4,3,2,1);
$arrayB = $arrayA;
array_multisort($arrayA);
echo $arrayA[0], "<br>";
echo $arrayB[0];
?>
The output is:
1
1
I think it should be:
1
5
Systems tested:
Windows 98 / PHP 4.2.2
Windows 2000 SP3 / PHP 4.1.1