Lines Matching refs:res

43 		if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
45 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
47 while ($row = mysqli_fetch_assoc($res))
49 var_dump(mysqli_fetch_assoc($res));
50 mysqli_free_result($res);
52 if (false !== ($res = mysqli_stmt_get_result($stmt))) {
54 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
58 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
60 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
62 while ($row = mysqli_fetch_assoc($res))
64 var_dump(mysqli_fetch_assoc($res));
65 mysqli_free_result($res);
81 if (false !== ($res = mysqli_stmt_get_result($stmt))) {
83 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
93 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
95 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
112 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
114 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
121 $row = mysqli_fetch_assoc($res);
124 mysqli_free_result($res);
133 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
135 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
137 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
138 printf("[024] Unknown result set type %s\n", $res->type);
140 if ($res->type !== MYSQLI_STORE_RESULT)
141 printf("[025] Expecting int/%d got %s/%s", MYSQLI_STORE_RESULT, gettype($res->type), $res->type);
143 mysqli_free_result($res);
147 if (NULL !== ($res = mysqli_stmt_get_result($stmt))) {
149 gettype($res), $res);