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

The balanced chemical equation for the reaction between pcl5 and water is given below. if 3.45 moles of hcl are produced, how many moles of water reacted? pcl5(
An anesthesiologist is present when
In the 1800s, the countries of europe were competing to place colonies on which continent?
Helppppp meeeeeeee pleaseeeeeee
Read the poem by Emily Dickinson. XXXII. Portraits are to daily faces As an evening west To a fine, pedantic sunshine In a satin vest. What two things are
help please ............on
what are the solutions to log6(x^2+8)= 1+ log 6 (x)
A woman with a history of gallstones complains of pain in the rib cage and constant nausea. What condition is she probably suffering from? cirrhosis
A somatic cow has 60 chromosomes.how many chromosomes would a cow sperm cell contain?
Symbols can be objects, people, or animals. A. true B. false