Lines Matching refs:res
25 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
27 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
30 if (3 !== $res->num_rows)
31 printf("[005] Expecting 3 rows, got %s/%s rows\n", gettype($res->num_rows), $res->num_rows);
33 if (2 !== $res->field_count)
34 …printf("[006] Expecting 2 fields, got %s/%s rows\n", gettype($res->field_count), $res->field_count…
36 if (0 !== $res->current_field)
37 …printf("[006] Expecting offset 0, got %s/%s rows\n", gettype($res->current_field), $res->current_f…
40 if (!$res->data_seek($i))
43 $row = $res->fetch_array(MYSQLI_BOTH);
64 if (false !== ($tmp = $res->data_seek(-1)))
67 if (false !== ($tmp = $res->data_seek($res->num_rows + 1)))
70 if (false !== ($tmp = $res->data_seek(PHP_INT_MAX + 1)))
76 $tmp = mysqli_data_seek($res, $pos);
80 $row = $res->fetch_array(MYSQLI_NUM);
92 if (true !== ($tmp = mysqli_data_seek($res, 0)))
95 if (!is_array($row = $res->fetch_array(MYSQLI_NUM)))
98 mysqli_free_result($res);
100 if (NULL !== ($tmp = mysqli_data_seek($res, 0)))
103 if (NULL !== ($row = $res->fetch_array(MYSQLI_NUM)))
108 if (NULL !== ($tmp = mysqli_data_seek($res, 0)))
111 if (NULL !== ($row = $res->fetch_array(MYSQLI_NUM)))