PrepAway - Latest Free Exam Questions & Answers

What function can reverse the order of values in an array so that keys are preserved?

What function can reverse the order of values in an array so that keys are preserved?

PrepAway - Latest Free Exam Questions & Answers

A.
array_flip()

B.
array_multisort()

C.
krsort()

D.
array_reverse()

E.
rsort()

Explanation:


Leave a Reply

Your email address will not be published. Required fields are marked *