mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
16 lines
No EOL
236 B
PHP
Executable file
16 lines
No EOL
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;
|
|
}*/
|
|
}
|
|
|
|
?>
|