ArrayIterator::seek
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Seeks to a position
Description
ArrayIterator::seek(int $offset): void
Seeks to a given position in the iterator.
Parameters
offsetThe position to seek to.
Return Values
Void
Errors/Exceptions
Throws an OutOfBoundsException if the offset is not seekable.