×

Multiple-Choice Questions

Which PHP function is used to sort an indexed array in descending order?

116. Which PHP function is used to sort an indexed array in descending order?

  1. sort_reverse()
  2. reverse_sort()
  3. revsort()
  4. rsort()

Answer: D) rsort()

Explanation:

The PHP function rsort() is used to sort an indexed array in descending order.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.