gracev6398 gracev6398
  • 07-08-2019
  • Computers and Technology
contestada

Sorts by value; keeps the same key.

Select one:

a. asort()

b. sort()

c. arsort()

d. rsort()

Respuesta :

ExieFansler ExieFansler
  • 16-08-2019

Answer:

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

Answer Link

Otras preguntas

What is this answer?
Why was the french and indian war of 1754 significant for great britain?
Elections occurring between presidential election years are called __________ elections.
Elizabeth, a 7-month-old infant, responds to holding her first orange by rolling it around on the floor just like she does with her blue rubber ball. this demon
____________can build-up in muscle tissues after anaerobic activity
Can someone help me math homework
Jefferson high school is looking to expand its student parking lot by expanding the existing lot as shown below
Anyone that can Help me answer this question!? I offer all my POINTS
The rise or fall in the price of an item is an example of which of the following?
Number 25 someone help me