diff options
Diffstat (limited to 'ext/spl/examples/dba_reader.inc')
| -rwxr-xr-x | ext/spl/examples/dba_reader.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/examples/dba_reader.inc b/ext/spl/examples/dba_reader.inc index d21db45613..fa8fd3d854 100755 --- a/ext/spl/examples/dba_reader.inc +++ b/ext/spl/examples/dba_reader.inc @@ -64,7 +64,7 @@ class DbaReader implements Iterator /** * @return Whether more elements are available. */ - function hasMore() { + function valid() { if ($this->db && $this->key !== false) { return true; } else { |
