A

Admin • 828.03K Points
Coach

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

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.