Lines Matching refs:mysqli

2 Interface of the class mysqli
13 $mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket);
17 var_dump(get_parent_class($mysqli));
20 $methods = get_class_methods($mysqli);
38 'mysqli' => true,
129 $variables = get_class_vars(get_class($mysqli));
148 $variables = get_object_vars($mysqli);
169 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
170 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
171 $mysqli->affected_rows, gettype($mysqli->affected_rows),
174 assert(mysqli_get_client_info() === $mysqli->client_info);
175 printf("mysqli->client_info = '%s'/%s ('%s'/%s)\n",
176 $mysqli->client_info, gettype($mysqli->client_info),
179 assert(mysqli_get_client_version() === $mysqli->client_version);
180 printf("mysqli->client_version = '%s'/%s ('%s'/%s)\n",
181 $mysqli->client_version, gettype($mysqli->client_version),
184 assert(mysqli_errno($link) === $mysqli->errno);
185 printf("mysqli->errno = '%s'/%s ('%s'/%s)\n",
186 $mysqli->errno, gettype($mysqli->errno),
189 assert(mysqli_error($link) === $mysqli->error);
190 printf("mysqli->error = '%s'/%s ('%s'/%s)\n",
191 $mysqli->error, gettype($mysqli->error),
195 assert(mysqli_error_list($link) === $mysqli->error_list);
196 assert(is_array($mysqli->error_list));
199 assert(mysqli_field_count($link) === $mysqli->field_count);
200 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n",
201 $mysqli->field_count, gettype($mysqli->field_count),
204 assert(mysqli_insert_id($link) === $mysqli->insert_id);
205 printf("mysqli->insert_id = '%s'/%s ('%s'/%s)\n",
206 $mysqli->insert_id, gettype($mysqli->insert_id),
209 assert(mysqli_sqlstate($link) === $mysqli->sqlstate);
210 printf("mysqli->sqlstate = '%s'/%s ('%s'/%s)\n",
211 $mysqli->sqlstate, gettype($mysqli->sqlstate),
214 assert(soundex(mysqli_stat($link)) == soundex($mysqli->stat));
215 printf("mysqli->stat = '%s'/%s ('%s'/%s)\n",
216 $mysqli->stat, gettype($mysqli->stat),
219 assert(mysqli_get_host_info($link) === $mysqli->host_info);
220 printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
221 $mysqli->host_info, gettype($mysqli->host_info),
225 assert(mysqli_info($link) == $mysqli->info);
226 printf("mysqli->info = '%s'/%s ('%s'/%s)\n",
227 $mysqli->info, gettype($mysqli->info),
230 assert(mysqli_thread_id($link) > $mysqli->thread_id);
231 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
232 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n",
233 $mysqli->thread_id, gettype($mysqli->thread_id),
236 assert(mysqli_get_proto_info($link) === $mysqli->protocol_version);
237 printf("mysqli->protocol_version = '%s'/%s ('%s'/%s)\n",
238 $mysqli->protocol_version, gettype($mysqli->protocol_version),
241 assert(mysqli_get_server_info($link) === $mysqli->server_info);
242 printf("mysqli->server_info = '%s'/%s ('%s'/%s)\n",
243 $mysqli->server_info, gettype($mysqli->server_info),
246 assert(mysqli_get_server_version($link) === $mysqli->server_version);
247 printf("mysqli->server_version = '%s'/%s ('%s'/%s)\n",
248 $mysqli->server_version, gettype($mysqli->server_version),
251 assert(mysqli_warning_count($link) === $mysqli->warning_count);
252 printf("mysqli->warning_count = '%s'/%s ('%s'/%s)\n",
253 $mysqli->warning_count, gettype($mysqli->warning_count),
257 printf("mysqli->unknown = '%s'\n", @$mysqli->unknown);
259 @$mysqli->unknown = 13;
260 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
263 @$mysqli->unknown = $unknown;
264 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
266 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
268 assert(mysqli_connect_error() === $mysqli->connect_error);
269 printf("mysqli->connect_error = '%s'/%s ('%s'/%s)\n",
270 $mysqli->connect_error, gettype($mysqli->connect_error),
273 assert(mysqli_connect_errno() === $mysqli->connect_errno);
274 printf("mysqli->connect_errno = '%s'/%s ('%s'/%s)\n",
275 $mysqli->connect_errno, gettype($mysqli->connect_errno),
294 mysqli->affected_rows = '%s'/integer ('%s'/integer)
295 mysqli->client_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
296 mysqli->client_version = '%d'/integer ('%d'/integer)
297 mysqli->errno = '0'/integer ('0'/integer)
298 mysqli->error = ''/%unicode|string% (''/%unicode|string%)
299 mysqli->field_count = '0'/integer ('0'/integer)
300 mysqli->insert_id = '0'/integer ('0'/integer)
301 mysqli->sqlstate = '00000'/%unicode|string% ('00000'/%unicode|string%)
302 mysqli->stat = 'Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: …
303 mysqli->host_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
304 mysqli->info = ''/NULL (''/%unicode|string%)
305 mysqli->thread_id = '%d'/integer ('%d'/integer)
306 mysqli->protocol_version = '%d'/integer ('%d'/integer)
307 mysqli->server_info = '%s'/%unicode|string% ('%s'/%unicode|string%)
308 mysqli->server_version = '%d'/integer ('%d'/integer)
309 mysqli->warning_count = '0'/integer ('0'/integer)
312 mysqli->unknown = ''
313 setting mysqli->unknown, mysqli_unknown = '13'
314 setting mysqli->unknown, mysqli_unknown = 'friday'
317 mysqli->connect_error = ''/NULL (''/NULL)
318 mysqli->connect_errno = '0'/integer ('0'/integer)