summaryrefslogtreecommitdiff
path: root/ext/sqlite/tests/sqlite_oo_024.phpt
diff options
context:
space:
mode:
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 d6448c5bb8..f1f89d9acc 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->has_more()) {
+while ($res->hasMore()) {
var_dump($res->fetch_object('class24'));
}
echo "====stdclass====\n";
$res = $db->query("SELECT a FROM strings", SQLITE_ASSOC);
-while ($res->has_more()) {
+while ($res->hasMore()) {
var_dump($res->fetch_object());
}