Php/docs/tokyotyrantiterator.rewind
From Get docs
TokyoTyrantIterator::rewind
(PECL tokyo_tyrant >= 0.2.0)
TokyoTyrantIterator::rewind — Rewinds the iterator
Description
public TokyoTyrantIterator::rewind ( ) : void
Rewinds the iterator for new iteration. Called automatically at the beginning of foreach.
Parameters
This function has no parameters.
Return Values
Throws TokyoTyrantException if iterator initialization fails.
See Also
- TokyoTyrantIterator::valid() - Rewinds the iterator
- TokyoTyrantIterator::current() - Get the current value
- TokyoTyrantIterator::next() - Move to next key
- TokyoTyrantIterator::rewind()