Lines Matching refs:mysqli_result
2 Interface of the class mysqli_result
14 $mysqli_result = $mysqli->query('SELECT * FROM test');
15 $row = $mysqli_result->fetch_row();
22 var_dump(get_parent_class($mysqli_result));
25 $methods = get_class_methods($mysqli_result);
50 if ($method == 'mysqli_result') {
70 $variables = array_keys(get_class_vars(get_class($mysqli_result)));
76 $variables = array_keys(get_object_vars($mysqli_result));
82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field);
83 printf("mysqli_result->current_field = '%s'/%s ('%s'/%s)\n",
84 $mysqli_result->current_field, gettype($mysqli_result->current_field),
87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count);
88 printf("mysqli_result->field_count = '%s'/%s ('%s'/%s)\n",
89 $mysqli_result->field_count, gettype($mysqli_result->field_count),
92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths);
93 printf("mysqli_result->lengths -> '%s'/%s ('%s'/%s)\n",
94 ((is_array($mysqli_result->lengths)) ? implode(' ', $mysqli_result->lengths) : 'n/a'),
95 gettype($mysqli_result->lengths),
99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows);
100 printf("mysqli_result->num_rows = '%s'/%s ('%s'/%s)\n",
101 $mysqli_result->num_rows, gettype($mysqli_result->num_rows),
104 assert(in_array($mysqli_result->type, array(MYSQLI_STORE_RESULT, MYSQLI_USE_RESULT)));
105 printf("mysqli_result->type = '%s'/%s\n",
106 ((MYSQLI_STORE_RESULT == $mysqli_result->type) ? 'store' : 'use'),
107 gettype($mysqli_result->type));
110 printf("mysqli_result->unknown = '%s'\n", @$mysqli_result->unknown);
113 if (!is_object($res = new mysqli_result($link)))
114 printf("[001] Expecting object/mysqli_result got %s/%s\n", gettye($res), $res);
125 if (!is_object($res = new mysqli_result($link)))
128 if (!is_object($res = new mysqli_result($link, MYSQLI_STORE_RESULT)))
131 if (!is_object($res = new mysqli_result($link, MYSQLI_USE_RESULT)))
141 if (!is_object($res = new mysqli_result($link, $mode)))
173 mysqli_result->current_field = '0'/integer ('0'/integer)
174 mysqli_result->field_count = '2'/integer ('2'/integer)
175 mysqli_result->lengths -> '1 1'/array ('1 1'/array)
176 mysqli_result->num_rows = '6'/integer ('6'/integer)
177 mysqli_result->type = 'store'/integer
180 mysqli_result->unknown = ''
183 mysqli_result object is already closed