Lines Matching refs:res

27 …      if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
29 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
31 while ($row = mysqli_fetch_assoc($res))
33 var_dump(mysqli_fetch_assoc($res));
34 mysqli_free_result($res);
36 if (false !== ($res = mysqli_stmt_get_result($stmt))) {
38 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
42 … if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
44 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
46 while ($row = mysqli_fetch_assoc($res))
48 var_dump(mysqli_fetch_assoc($res));
49 mysqli_free_result($res);
65 if (false !== ($res = mysqli_stmt_get_result($stmt))) {
67 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
77 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
79 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
96 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
98 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
105 $row = mysqli_fetch_assoc($res);
108 mysqli_free_result($res);
117 if (!is_object($res = mysqli_stmt_get_result($stmt)) || 'mysqli_result' != get_class($res)) {
119 gettype($res), $res, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
121 if (!in_array($res->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT))) {
122 printf("[024] Unknown result set type %s\n", $res->type);
124 if ($res->type !== MYSQLI_STORE_RESULT)
125 … printf("[025] Expecting int/%d got %s/%s", MYSQLI_STORE_RESULT, gettype($res->type), $res->type);
127 mysqli_free_result($res);