ArrayIterator::rewind Rewind array back to the start &reftitle.description; public voidArrayIterator::rewind This rewinds the iterator to the beginning. &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; &return.void; &reftitle.examples; <function>ArrayIterator::rewind</function> example getIterator(); $iterator->next(); echo $iterator->key(); //1 $iterator->rewind(); //rewinding to the beginning echo $iterator->key(); //0 ?> ]]>