A

Admin • 833K Points
Coach

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()
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.