I have a coding problem

<?php $lightcolor = array("yellow", "cyan","green"); $darkcolor = array("red","black","gray"); array_multisort($lightcolor,SORT_DESC,$darkcolor,SORT_ASC); print_r($lightcolor); print("

"); print_r($darkcolor ); ?>

output:
Array ( [0] => yellow [1] => green [2] => cyan )

Array ( [0] => red [1] => gray [2] => black )

Doubt:
Second ouput line is wrong.
What was wrong in my statement.

It seems right. What do you think the second line should be?

Sponsor our Newsletter | Privacy Policy | Terms of Service