<?php $a = [1,2,3,4]; foreach ($a as $i) { echo $i.PHP_EOL; echo end($a).PHP_EOL; }
You have javascript disabled. You will not be able to edit any code.