ArrayIterator::next
Move to next entry
&reftitle.description;
public voidArrayIterator::next
The iterator to the next entry.
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
ArrayIterator::next example
getIterator();
while($iterator->valid()) {
echo $iterator->key() . ' => ' . $iterator->current() . "\n";
$iterator->next();
}
?>
]]>
&example.outputs;
zero
1 => one
]]>