From 883777623a5d3f684ca525da2a26e081a58acfe7 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 17 Nov 2003 00:55:37 +0000 Subject: [PATCH] Make it an interface with an code example as comment --- ext/spl/examples/seekableiterator.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/spl/examples/seekableiterator.inc b/ext/spl/examples/seekableiterator.inc index e0de775683e..d7381fc3f83 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