array_reverse() function reverses the order of the array elements.
//The syntax is: array array_reverse(array array) <? $u = array ("A", "B", "C", "D"); $u = array_reverse ($u); print_r($u); ?>