From: Marcus Boerger Date: Mon, 17 Nov 2003 00:55:37 +0000 (+0000) Subject: Make it an interface with an code example as comment X-Git-Tag: php-5.0.0b3RC1~677 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=883777623a5d3f684ca525da2a26e081a58acfe7;p=php Make it an interface with an code example as comment --- diff --git a/ext/spl/examples/seekableiterator.inc b/ext/spl/examples/seekableiterator.inc index e0de775683..d7381fc3f8 100755 --- a/ext/spl/examples/seekableiterator.inc +++ b/ext/spl/examples/seekableiterator.inc @@ -1,16 +1,16 @@ rewind(); + function seek($index); +/* $this->rewind(); $position = 0; while($position < $index && $this->hasMore()) { $this->next(); $position++; } return $position; - } + }*/ } ?> \ No newline at end of file