PdfPrep.com

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?
A . array_flip()
B . array_reverse()
C . rsort()
D . krsort()
E . array_multisort()

Answer: B

Exit mobile version