πŸ“Š PHP
Q. Which of the following can be used to sort an associative array in ascending order by value?
  • (A) asort()
  • (B) arsort()
  • (C) ksort()
  • (D) sort()
πŸ’¬ Discuss
βœ… Correct Answer: (A) asort()

Explanation: asort() sorts an associative array in ascending order, according to the value.

Explanation by: Mr. Dubey
asort() sorts an associative array in ascending order, according to the value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
41
Total Visits
πŸ“½οΈ
6 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate