<?php $a=[1,2,3,4]; foreach($a as &$v) { echo "$v\n"; array_pop($a);}
You have javascript disabled. You will not be able to edit any code.