ArrayIterator::next Move to next entry Description voidArrayIterator::next This function moves the iterator to the next entry. <function>ArrayIterator::next</function> example getIterator(); while($iterator->valid()) { echo $iterator->key() . ' => ' . $iterator->current() . "\n"; $iterator->next(); } ?> ]]> The above example will output: zero 1 => one ]]>