PHP Fetch current element of an array – PHP May 11, 2011 Pramod T P Leave a comment <?php $testArray = array('foot', 'bike', 'car', 'plane'); echo current($testArray); // foot ?>