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

Posted by: Pdfprep Category: 200-710 Tags: , ,

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

Leave a Reply

Your email address will not be published.