<?php $list = array("A", "B", "C","D"); $arr = array('A', 'B', 'C', 'D'); function itm($val) { return current($val); } foreach ($arr as $item) { print itm($arr); }
You have javascript disabled. You will not be able to edit any code.