PHP » GoLang |
login |
register |
about
|
GoLang SeekableIterator::seek
request it (321)
GoLang replacement for PHP's SeekableIterator::seek
[edit | history]
SeekableIterator::seek(PHP 5 >= 5.1.0, PHP 7) SeekableIterator::seek — Seeks to a position Description
abstract public void SeekableIterator::seek
( int
$position
)Seeks to a given position in the iterator. Parameters
Return ValuesNo value is returned. Errors/Exceptions
Implementations should throw an OutOfBoundsException
if the Examples
Example #1 SeekableIterator::seek() example Seek to the item at position 3 in the iterator (ArrayIterator implements SeekableIterator).
<?php The above example will output something similar to: damson |
more
Recently updated
more
Most requested
more
Last requests
|