Examveda
Examveda

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()

C. krsort()

D. sort()

E. usort()

Answer: Option B


This Question Belongs to PHP >> Arrays

Join The Discussion

Related Questions on Arrays