array_reverse: Return an array with elements in reverse order
<?php $states = array("A","B","C"); print "Before reverse: <br />"; print_r($states); print "<br />After reverse: <br />"; print_r(array_reverse($states)); ?>