|  | Posted by Erwin Moller on 10/01/07 09:09 
youngord@gmail.com wrote:> <?php
 > $mix=array(
 >               array("A",10),
 >               array("B",5),
 >               array("C",100)
 >            );
 > function com($x,$y){
 > echo $x[0];
 > }
 >
 > usort($mix,'com');
 >
 > ?>
 >
 > i think the $x[0] result is A,
 > but the final $x[0] result is BC.
 > why???
 >
 
 Please stop multiposting.
 You question was also send (and answered) in comp.lang.php, and who
 knows where else....
 
 Erwin Moller
 [Back to original message] |