Lines Matching refs:res
18 $res = @new mysqli_result($mysqli);
19 if (!is_null($tmp = @$res->fetch_object()))
27 if (!$res = $mysqli->query("SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) {
31 if (!is_null($tmp = @$res->fetch_object($link)))
34 if (!is_null($tmp = @$res->fetch_object($link, $link)))
37 if (!is_null($tmp = @$res->fetch_object($link, $link, $link)))
40 $obj = mysqli_fetch_object($res);
56 $obj = $res->fetch_object('mysqli_fetch_object_test');
71 $obj = $res->fetch_object('mysqli_fetch_object_construct', null);
78 $obj = $res->fetch_object('mysqli_fetch_object_construct', array('a'));
84 $obj = $res->fetch_object('mysqli_fetch_object_construct', array('a', 'b'));
90 var_dump($res->fetch_object('mysqli_fetch_object_construct', array('a', 'b', 'c')));
91 var_dump(mysqli_fetch_object($res));
93 mysqli_free_result($res);
95 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST")) {
99 mysqli_free_result($res);
101 var_dump(mysqli_fetch_object($res));
104 var_dump($res->fetch_object('this_class_does_not_exist'));