+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.

Related questions

0 votes
asked Aug 15, 2023 in React Hooks by GeorgeBell
+1 vote
asked May 29, 2020 in DevOps by sharadyadav1986
...