diff options
| author | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2004-03-08 17:33:31 +0000 |
| commit | b6b7c9eb6521f75955e285036e901a6b11ec86b5 (patch) | |
| tree | 973bf6a45c6d14a1d7623ec92916c8ad226f2d84 /ext/sqlite/tests/sqlite_oo_024.phpt | |
| parent | c3b06ea21e12981f02f4da2ac0cb5d2499ff4bb5 (diff) | |
| download | php-git-b6b7c9eb6521f75955e285036e901a6b11ec86b5.tar.gz | |
Rename hasMore() to valid() as discussed. (Part I)
Diffstat (limited to 'ext/sqlite/tests/sqlite_oo_024.phpt')
| -rwxr-xr-x | ext/sqlite/tests/sqlite_oo_024.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sqlite/tests/sqlite_oo_024.phpt b/ext/sqlite/tests/sqlite_oo_024.phpt index f1f89d9acc..457d8a502c 100755 --- a/ext/sqlite/tests/sqlite_oo_024.phpt +++ b/ext/sqlite/tests/sqlite_oo_024.phpt @@ -29,13 +29,13 @@ foreach ($data as $str) { echo "====class24====\n"; $res = $db->query("SELECT a FROM strings", SQLITE_ASSOC); -while ($res->hasMore()) { +while ($res->valid()) { var_dump($res->fetch_object('class24')); } echo "====stdclass====\n"; $res = $db->query("SELECT a FROM strings", SQLITE_ASSOC); -while ($res->hasMore()) { +while ($res->valid()) { var_dump($res->fetch_object()); } |
