From 3686b615484505cf59dd199363a3f6d45b9afdc5 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Mon, 17 Feb 2003 16:19:49 +0000 Subject: [PATCH] test for mysql_fetch_row (oo-style) --- ext/mysqli/tests/049.phpt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ext/mysqli/tests/049.phpt diff --git a/ext/mysqli/tests/049.phpt b/ext/mysqli/tests/049.phpt new file mode 100644 index 0000000000..04e705de6e --- /dev/null +++ b/ext/mysqli/tests/049.phpt @@ -0,0 +1,23 @@ +--TEST-- +mysql_fetch_row (OO-Style) +--FILE-- +select_db("test"); + $result = $mysql->query("SELECT CURRENT_USER()"); + $row = $result->fetch_row(); + $result->close(); + + var_dump($row); + + $mysql->close(); +?> +--EXPECT-- +array(1) { + [0]=> + string(14) "root@localhost" +} -- 2.50.1