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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to