Ask Question
8 January, 05:40

Sorts by value; keeps the same key.

Select one:

a. asort ()

b. sort ()

c. arsort ()

d. rsort ()

+4
Answers (1)
  1. 8 January, 06:08
    0
    (a) asort ()

    Explanation:

    It is used in PHP. It is used to sort the associative array according to the values in ascending order. It is an inbuilt function in PHP.

    arsort () function is used to sort associative array in descending order according to the values.

    sort () is used to sort and array in ascending order while rsort () is used to sort the array in descending order.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Sorts by value; keeps the same key. Select one: a. asort () b. sort () c. arsort () d. rsort () ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers