php-src/ext/spl/examples/seekableiterator.inc

16 lines
236 B
PHP
Raw Normal View History

<?php
interface SeekableIterator implements Iterator
{
function seek($index);
/* $this->rewind();
$position = 0;
2003-11-11 18:33:34 +00:00
while($position < $index && $this->hasMore()) {
$this->next();
$position++;
}
return $position;
}*/
}
?>