mirror of
https://github.com/php/php-src.git
synced 2024-09-28 13:26:11 +00:00
16 lines
236 B
PHP
Executable File
16 lines
236 B
PHP
Executable File
<?php
|
|
|
|
interface SeekableIterator implements Iterator
|
|
{
|
|
function seek($index);
|
|
/* $this->rewind();
|
|
$position = 0;
|
|
while($position < $index && $this->hasMore()) {
|
|
$this->next();
|
|
$position++;
|
|
}
|
|
return $position;
|
|
}*/
|
|
}
|
|
|
|
?>
|