Source Code:
(back to article)
<?php $array = [4 => 'apple', 7 => 'banana', 13 => 'grapes']; $reversedArray = array_reverse($array); echo array_pop($reversedArray); ?>
Result:
Report an issue