Single Choice
Not Set
Q Which of the functions is used to sort an array in descending order?
ID: #2379
Arrays in PHP MCQ
8,978 views
Question Info
#2379Q ID
Not SetDifficulty
Arrays in PHP MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
sort() function is used to sort in ascending order where as rsort() meaning reverse sort is used for sorting in descending order.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic