🎴 Flashcard Mode
Basic PHP Quiz - 1
Card1 / 19
Mastered0
Review0
QuestionClick to flip
In PHP, arrays may be sorted with which of the following functions?
AnswerClick to flip back
A
All of the above
💡 Explanation:
PHP provides multiple sorting functions for arrays: uksort() sorts by user-defined key comparison, arsort() sorts in reverse order maintaining index association, and ksort() sorts by key. Since all three listed functions are valid PHP array sorting functions, option D is correct. PHP has a rich set of array manipulation functions.