Lines Matching refs:mysqli
2 Interface of the class mysqli
4 mysqli
13 $mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
17 var_dump(get_parent_class($mysqli));
20 $methods = get_class_methods($mysqli);
117 $variables = get_class_vars(get_class($mysqli));
136 $variables = get_object_vars($mysqli);
157 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
158 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
159 $mysqli->affected_rows, gettype($mysqli->affected_rows),
162 assert(mysqli_get_client_info() === $mysqli->client_info);
163 printf("mysqli->client_info = '%s'/%s ('%s'/%s)\n",
164 $mysqli->client_info, gettype($mysqli->client_info),
167 assert(mysqli_get_client_version() === $mysqli->client_version);
168 printf("mysqli->client_version = '%s'/%s ('%s'/%s)\n",
169 $mysqli->client_version, gettype($mysqli->client_version),
172 assert(mysqli_errno($link) === $mysqli->errno);
173 printf("mysqli->errno = '%s'/%s ('%s'/%s)\n",
174 $mysqli->errno, gettype($mysqli->errno),
177 assert(mysqli_error($link) === $mysqli->error);
178 printf("mysqli->error = '%s'/%s ('%s'/%s)\n",
179 $mysqli->error, gettype($mysqli->error),
182 assert(mysqli_error_list($link) === $mysqli->error_list);
183 assert(is_array($mysqli->error_list));
185 assert(mysqli_field_count($link) === $mysqli->field_count);
186 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n",
187 $mysqli->field_count, gettype($mysqli->field_count),
190 assert(mysqli_insert_id($link) === $mysqli->insert_id);
191 printf("mysqli->insert_id = '%s'/%s ('%s'/%s)\n",
192 $mysqli->insert_id, gettype($mysqli->insert_id),
195 assert(mysqli_sqlstate($link) === $mysqli->sqlstate);
196 printf("mysqli->sqlstate = '%s'/%s ('%s'/%s)\n",
197 $mysqli->sqlstate, gettype($mysqli->sqlstate),
200 assert(mysqli_get_host_info($link) === $mysqli->host_info);
201 printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
202 $mysqli->host_info, gettype($mysqli->host_info),
206 assert(mysqli_info($link) == $mysqli->info);
207 printf("mysqli->info = '%s'/%s ('%s'/%s)\n",
208 $mysqli->info, gettype($mysqli->info),
211 assert(mysqli_thread_id($link) > $mysqli->thread_id);
212 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
213 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n",
214 $mysqli->thread_id, gettype($mysqli->thread_id),
217 assert(mysqli_get_proto_info($link) === $mysqli->protocol_version);
218 printf("mysqli->protocol_version = '%s'/%s ('%s'/%s)\n",
219 $mysqli->protocol_version, gettype($mysqli->protocol_version),
222 assert(mysqli_get_server_info($link) === $mysqli->server_info);
223 printf("mysqli->server_info = '%s'/%s ('%s'/%s)\n",
224 $mysqli->server_info, gettype($mysqli->server_info),
227 assert(mysqli_get_server_version($link) === $mysqli->server_version);
228 printf("mysqli->server_version = '%s'/%s ('%s'/%s)\n",
229 $mysqli->server_version, gettype($mysqli->server_version),
232 assert(mysqli_warning_count($link) === $mysqli->warning_count);
233 printf("mysqli->warning_count = '%s'/%s ('%s'/%s)\n",
234 $mysqli->warning_count, gettype($mysqli->warning_count),
238 printf("mysqli->unknown = '%s'\n", @$mysqli->unknown);
240 @$mysqli->unknown = 13;
241 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
244 @$mysqli->unknown = $unknown;
245 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
247 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
249 assert(mysqli_connect_error() === $mysqli->connect_error);
250 printf("mysqli->connect_error = '%s'/%s ('%s'/%s)\n",
251 $mysqli->connect_error, gettype($mysqli->connect_error),
254 assert(mysqli_connect_errno() === $mysqli->connect_errno);
255 printf("mysqli->connect_errno = '%s'/%s ('%s'/%s)\n",
256 $mysqli->connect_errno, gettype($mysqli->connect_errno),
275 mysqli->affected_rows = '%s'/integer ('%s'/integer)
276 mysqli->client_info = '%s'/string ('%s'/string)
277 mysqli->client_version = '%d'/integer ('%d'/integer)
278 mysqli->errno = '0'/integer ('0'/integer)
279 mysqli->error = ''/string (''/string)
280 mysqli->field_count = '0'/integer ('0'/integer)
281 mysqli->insert_id = '0'/integer ('0'/integer)
282 mysqli->sqlstate = '00000'/string ('00000'/string)
283 mysqli->host_info = '%s'/string ('%s'/string)
284 mysqli->info = ''/NULL (''/NULL)
285 mysqli->thread_id = '%d'/integer ('%d'/integer)
286 mysqli->protocol_version = '%d'/integer ('%d'/integer)
287 mysqli->server_info = '%s'/string ('%s'/string)
288 mysqli->server_version = '%d'/integer ('%d'/integer)
289 mysqli->warning_count = '0'/integer ('0'/integer)
292 mysqli->unknown = ''
293 setting mysqli->unknown, mysqli_unknown = '13'
294 setting mysqli->unknown, mysqli_unknown = 'friday'
297 mysqli->connect_error = ''/NULL (''/NULL)
298 mysqli->connect_errno = '0'/integer ('0'/integer)