It returns an array with elements in reverse order
Example
<?php
echo “<pre>”;
$array1 = array(‘WEB’ => array( “PHP”) , ‘ASP’ => array(“JAVA”, “JSP”), );
$array2 = array_reverse($array1);
print_r($array2);
?>
Output
Array
(
[ASP] => Array
(
[0] => JAVA
[1] => JSP
)
[WEB] => Array
(
[0] => PHP
)
)