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