Q50
Assume you would like to sort an array in ascending order by value while preserving key associations. Which of the following PHP sorting functions would you use?
A.
ksort()
B.
asort()
AnswerC.
krsort()
D.
sort()
E.
usort()
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board