Home »
MCQs »
PHP MCQs
Which PHP function is used to sort multi-dimensional arrays?
114. Which PHP function is used to sort multi-dimensional arrays?
- array_sort()
- sort()
- multisort()
- array_multisort()
Answer: D) array_multisort()
Explanation:
The PHP function array_multisort() is used to sort multi-dimensional arrays.