Lines Matching refs:res
25 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5")) {
29 $obj = mysqli_fetch_object($res);
45 $obj = mysqli_fetch_object($res, 'mysqli_fetch_object_test');
62 $obj = mysqli_fetch_object($res, 'mysqli_fetch_object_construct', array());
69 $obj = mysqli_fetch_object($res, 'mysqli_fetch_object_construct', array('a'));
75 $obj = mysqli_fetch_object($res, 'mysqli_fetch_object_construct', array('a', 'b'));
81 var_dump(mysqli_fetch_object($res, 'mysqli_fetch_object_construct', array('a', 'b', 'c')));
82 var_dump(mysqli_fetch_object($res));
84 mysqli_free_result($res);
86 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST")) {
90 mysqli_free_result($res);
91 var_dump(mysqli_fetch_object($res));
93 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5"))
102 if (false !== ($obj = @mysqli_fetch_object($res, 'mysqli_fetch_object_construct', 'a')))
108 mysqli_free_result($res);
110 if (!$res = mysqli_query($link, "SELECT id AS ID, label FROM test AS TEST ORDER BY id LIMIT 5"))
126 $obj = mysqli_fetch_object($res, 'mysqli_fetch_object_private_constructor', array('a', 'b'));
127 mysqli_free_result($res);
130 var_dump(mysqli_fetch_object($res, 'this_class_does_not_exist'));