+1 vote
in PHP by
Which of the following function is used to sort an array in descending order?

a) sort()

b) asrot()

c) dsort()

d) rsort()

1 Answer

0 votes
by

d) rsort()

Description: The PHP rsort( ) function is used to sort an array in descending order. This function introduced in PHP 4.0.

...