Lines Matching refs:mysqli_result

2 Interface of the class mysqli_result
15 $mysqli_result = $mysqli->query('SELECT * FROM test');
16 $row = $mysqli_result->fetch_row();
23 var_dump(get_parent_class($mysqli_result));
26 $methods = get_class_methods($mysqli_result);
51 if ($method == 'mysqli_result') {
71 $variables = array_keys(get_class_vars(get_class($mysqli_result)));
77 $variables = array_keys(get_object_vars($mysqli_result));
83 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field);
84 printf("mysqli_result->current_field = '%s'/%s ('%s'/%s)\n",
85 $mysqli_result->current_field, gettype($mysqli_result->current_field),
88 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
89 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n",
90 $mysqli_result->field_count, gettype($mysqli_result->field_count),
93 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
94 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n",
95 ((is_array($mysqli_result->lengths)) ? implode(' ', $mysqli_result->lengths) : 'n/a'),
96 gettype($mysqli_result->lengths),
100 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
101 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n",
102 $mysqli_result->num_rows, gettype($mysqli_result->num_rows),
105 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT)));
106 printf("mysqli_result->type = '%s'/%s\n",
107 ((MYSQLI_STORE_RESULT == $mysqli_result->type) ? 'store' : 'use'),
108 gettype($mysqli_result->type));
111 printf("mysqli_result->unknown = '%s'\n", @$mysqli_result->unknown);
114 if (!is_object($res = new mysqli_result($link)))
115 printf("[001] Expecting object/mysqli_result got %s/%s\n", gettye($res), $res);
126 if (!is_object($res = new mysqli_result($link)))
129 if (!is_object($res = new mysqli_result($link, MYSQLI_STORE_RESULT)))
132 if (!is_object($res = new mysqli_result($link, MYSQLI_USE_RESULT)))
142 if (!is_object($res = new mysqli_result($link, $mode)))
169 mysqli_result->current_field = '0'/integer ('0'/integer)
170 mysqli_result->field_count = '2'/integer ('2'/integer)
171 mysqli_result->lengths -> '1 1'/array ('1 1'/array)
172 mysqli_result->num_rows = '6'/integer ('6'/integer)
173 mysqli_result->type = 'store'/integer
176 mysqli_result->unknown = ''
179 mysqli_result object is already closed