πŸ“Š 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

πŸ‘οΈ
73
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate