A

Admin • 833K Points
Coach

Q. Which function can be used to reverse an array?

  • (A) array_reverse()
  • (B) reverse_array()
  • (C) rev()
  • (D) array_flip()
  • Correct Answer - Option(A)
  • Views: 24
  • Filed under category PHP
  • Hashtags:

Explanation by: Admin

array_reverse() returns an array with elements in reverse order.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.