Source Code:
(back to article)
<?php $items = [1, 2, 3, 4, 5]; for ($i = count($items) - 1; $i >= 0; $i--) { echo $items[$i] . "\n"; }
Result:
Report an issue