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 happens when a cold air mass meets a warm air mass that is not moving?
16 is 30% of what number?
Anybody good at analogies?
______________ was a Baptist minister from Atlanta whose stirring speeches and belief in the power of nonviolence shaped the course of the national Civil Rights
List 4 clues that a chemical reaction is occurring
______________ was a Baptist minister from Atlanta whose stirring speeches and belief in the power of nonviolence shaped the course of the national Civil Rights
Rick has a collection of 6 vide games. He lets his best friend borrow 2/6 of his video game collection. Write two fractions equivalent to this number. Explain h
What restriction does the Constitution place on bails, fines, and punishments?
What was president Truman's chief priority in using the atomic bomb against japan
what is 4/5+11/12= ?