diff options
author | Marcus Boerger <helly@php.net> | 2003-11-11 18:33:34 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-11-11 18:33:34 +0000 |
commit | e480d10021558ebb3fb427baeb503354a0799dd7 (patch) | |
tree | 977b51b9d7038f9556899bd0b3ffb41802b343aa | |
parent | 91ab36096eee33551e5ff13ca837b42b41000ab8 (diff) | |
download | php-git-e480d10021558ebb3fb427baeb503354a0799dd7.tar.gz |
Fix this
-rwxr-xr-x | ext/spl/examples/seekableiterator.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/examples/seekableiterator.inc b/ext/spl/examples/seekableiterator.inc index 157d2736f4..e0de775683 100755 --- a/ext/spl/examples/seekableiterator.inc +++ b/ext/spl/examples/seekableiterator.inc @@ -5,7 +5,7 @@ class SeekableIterator implements Iterator function seek($index) { $this->rewind(); $position = 0; - while($position < $index && $this->it->hasMore()) { + while($position < $index && $this->hasMore()) { $this->next(); $position++; } |