ArrayIterator::rewind
Rewind array back to the start
Description
voidArrayIterator::rewind
This function rewinds the iterator to the beginning.
ArrayIterator::rewind example
getIterator();
$iterator->next();
echo $iterator->key(); //1
$iterator->rewind(); //rewinding to the begining
echo $iterator->key(); //0
?>
]]>