This makes both $result and $result_keyed have the same elements, but note the difference between the keys.
?php $input = array ("php", 4.0, array ("rouge", "vert")); $result = array_reverse ($input); $result_keyed = array_reverse ($input, TRUE);?