summaryrefslogtreecommitdiff
path: root/ext/sqlite/tests/sqlite_oo_024.phpt
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2004-03-08 17:33:31 +0000
committerMarcus Boerger <helly@php.net>2004-03-08 17:33:31 +0000
commitb6b7c9eb6521f75955e285036e901a6b11ec86b5 (patch)
tree973bf6a45c6d14a1d7623ec92916c8ad226f2d84 /ext/sqlite/tests/sqlite_oo_024.phpt
parentc3b06ea21e12981f02f4da2ac0cb5d2499ff4bb5 (diff)
downloadphp-git-b6b7c9eb6521f75955e285036e901a6b11ec86b5.tar.gz
Rename hasMore() to valid() as discussed. (Part I)
Diffstat (limited to 'ext/sqlite/tests/sqlite_oo_024.phpt')
-rwxr-xr-xext/sqlite/tests/sqlite_oo_024.phpt4
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());
}