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);
120 $variables = get_class_vars(get_class($mysqli));
139 $variables = get_object_vars($mysqli);
160 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
161 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
162 $mysqli->affected_rows, gettype($mysqli->affected_rows),
165 assert(mysqli_get_client_info() === $mysqli->client_info);
166 printf("mysqli->client_info = '%s'/%s ('%s'/%s)\n",
167 $mysqli->client_info, gettype($mysqli->client_info),
170 assert(mysqli_get_client_version() === $mysqli->client_version);
171 printf("mysqli->client_version = '%s'/%s ('%s'/%s)\n",
172 $mysqli->client_version, gettype($mysqli->client_version),
175 assert(mysqli_errno($link) === $mysqli->errno);
176 printf("mysqli->errno = '%s'/%s ('%s'/%s)\n",
177 $mysqli->errno, gettype($mysqli->errno),
180 assert(mysqli_error($link) === $mysqli->error);
181 printf("mysqli->error = '%s'/%s ('%s'/%s)\n",
182 $mysqli->error, gettype($mysqli->error),
185 assert(mysqli_error_list($link) === $mysqli->error_list);
186 assert(is_array($mysqli->error_list));
188 assert(mysqli_field_count($link) === $mysqli->field_count);
189 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n",
190 $mysqli->field_count, gettype($mysqli->field_count),
193 assert(mysqli_insert_id($link) === $mysqli->insert_id);
194 printf("mysqli->insert_id = '%s'/%s ('%s'/%s)\n",
195 $mysqli->insert_id, gettype($mysqli->insert_id),
198 assert(mysqli_sqlstate($link) === $mysqli->sqlstate);
199 printf("mysqli->sqlstate = '%s'/%s ('%s'/%s)\n",
200 $mysqli->sqlstate, gettype($mysqli->sqlstate),
203 assert(soundex(mysqli_stat($link)) == soundex($mysqli->stat));
204 printf("mysqli->stat = '%s'/%s ('%s'/%s)\n",
205 $mysqli->stat, gettype($mysqli->stat),
208 assert(mysqli_get_host_info($link) === $mysqli->host_info);
209 printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
210 $mysqli->host_info, gettype($mysqli->host_info),
214 assert(mysqli_info($link) == $mysqli->info);
215 printf("mysqli->info = '%s'/%s ('%s'/%s)\n",
216 $mysqli->info, gettype($mysqli->info),
219 assert(mysqli_thread_id($link) > $mysqli->thread_id);
220 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
221 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n",
222 $mysqli->thread_id, gettype($mysqli->thread_id),
225 assert(mysqli_get_proto_info($link) === $mysqli->protocol_version);
226 printf("mysqli->protocol_version = '%s'/%s ('%s'/%s)\n",
227 $mysqli->protocol_version, gettype($mysqli->protocol_version),
230 assert(mysqli_get_server_info($link) === $mysqli->server_info);
231 printf("mysqli->server_info = '%s'/%s ('%s'/%s)\n",
232 $mysqli->server_info, gettype($mysqli->server_info),
235 assert(mysqli_get_server_version($link) === $mysqli->server_version);
236 printf("mysqli->server_version = '%s'/%s ('%s'/%s)\n",
237 $mysqli->server_version, gettype($mysqli->server_version),
240 assert(mysqli_warning_count($link) === $mysqli->warning_count);
241 printf("mysqli->warning_count = '%s'/%s ('%s'/%s)\n",
242 $mysqli->warning_count, gettype($mysqli->warning_count),
246 printf("mysqli->unknown = '%s'\n", @$mysqli->unknown);
248 @$mysqli->unknown = 13;
249 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
252 @$mysqli->unknown = $unknown;
253 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
255 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
257 assert(mysqli_connect_error() === $mysqli->connect_error);
258 printf("mysqli->connect_error = '%s'/%s ('%s'/%s)\n",
259 $mysqli->connect_error, gettype($mysqli->connect_error),
262 assert(mysqli_connect_errno() === $mysqli->connect_errno);
263 printf("mysqli->connect_errno = '%s'/%s ('%s'/%s)\n",
264 $mysqli->connect_errno, gettype($mysqli->connect_errno),
283 mysqli->affected_rows = '%s'/integer ('%s'/integer)
284 mysqli->client_info = '%s'/string ('%s'/string)
285 mysqli->client_version = '%d'/integer ('%d'/integer)
286 mysqli->errno = '0'/integer ('0'/integer)
287 mysqli->error = ''/string (''/string)
288 mysqli->field_count = '0'/integer ('0'/integer)
289 mysqli->insert_id = '0'/integer ('0'/integer)
290 mysqli->sqlstate = '00000'/string ('00000'/string)
291 mysqli->stat = 'Uptime: %d Threads: %d Questions: %d Slow queries: %d Opens: %d Flush tables: …
292 mysqli->host_info = '%s'/string ('%s'/string)
293 mysqli->info = ''/NULL (''/NULL)
294 mysqli->thread_id = '%d'/integer ('%d'/integer)
295 mysqli->protocol_version = '%d'/integer ('%d'/integer)
296 mysqli->server_info = '%s'/string ('%s'/string)
297 mysqli->server_version = '%d'/integer ('%d'/integer)
298 mysqli->warning_count = '0'/integer ('0'/integer)
301 mysqli->unknown = ''
302 setting mysqli->unknown, mysqli_unknown = '13'
303 setting mysqli->unknown, mysqli_unknown = 'friday'
306 mysqli->connect_error = ''/NULL (''/NULL)
307 mysqli->connect_errno = '0'/integer ('0'/integer)