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

You often insert your company's logo into documents you create . One way to make it easier for you to quickly insert it is to save the logo as a
How did the people of hims feel about the Muslims
What was the Renaissance? a. a period--during the thirteenth century--of renewed interest in ancient civilizations in Europe b. a period of artistic and litera
James invests £700 for 2 years at 10% per year compound interest. How much interest does he earn?
What is x-9over3=2? Need answer bad
As inflation increased and the Roman Empire experienced greater political instability, what occurred?
What is the difference between 129 and 451
Un plateau définition
palabras agudas divididas en silabas
find the roots of the equation: y=4(X+4)^2 -12
good job