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

Explanation: asort() maintains index association and sorts according to value.

Explanation by: Mr. Dubey
asort() maintains index association and sorts according to value.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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