Source Code:
(back to article)
<?php $original_array = array("a" => "apple", "b" => "banana", "c" => "cherry"); $reversed_array = array_reverse($original_array); print_r($reversed_array); ?>
Result:
Report an issue