From: Georg Richter Date: Mon, 17 Feb 2003 16:19:49 +0000 (+0000) Subject: test for mysql_fetch_row (oo-style) X-Git-Tag: RELEASE_0_5~935 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3686b615484505cf59dd199363a3f6d45b9afdc5;p=php test for mysql_fetch_row (oo-style) --- 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" +}