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);
119 $variables = get_class_vars(get_class($mysqli));
138 $variables = get_object_vars($mysqli);
159 assert(mysqli_affected_rows($link) === $mysqli->affected_rows);
160 printf("mysqli->affected_rows = '%s'/%s ('%s'/%s)\n",
161 $mysqli->affected_rows, gettype($mysqli->affected_rows),
164 assert(mysqli_get_client_info() === $mysqli->client_info);
165 printf("mysqli->client_info = '%s'/%s ('%s'/%s)\n",
166 $mysqli->client_info, gettype($mysqli->client_info),
169 assert(mysqli_get_client_version() === $mysqli->client_version);
170 printf("mysqli->client_version = '%s'/%s ('%s'/%s)\n",
171 $mysqli->client_version, gettype($mysqli->client_version),
174 assert(mysqli_errno($link) === $mysqli->errno);
175 printf("mysqli->errno = '%s'/%s ('%s'/%s)\n",
176 $mysqli->errno, gettype($mysqli->errno),
179 assert(mysqli_error($link) === $mysqli->error);
180 printf("mysqli->error = '%s'/%s ('%s'/%s)\n",
181 $mysqli->error, gettype($mysqli->error),
184 assert(mysqli_error_list($link) === $mysqli->error_list);
185 assert(is_array($mysqli->error_list));
187 assert(mysqli_field_count($link) === $mysqli->field_count);
188 printf("mysqli->field_count = '%s'/%s ('%s'/%s)\n",
189 $mysqli->field_count, gettype($mysqli->field_count),
192 assert(mysqli_insert_id($link) === $mysqli->insert_id);
193 printf("mysqli->insert_id = '%s'/%s ('%s'/%s)\n",
194 $mysqli->insert_id, gettype($mysqli->insert_id),
197 assert(mysqli_sqlstate($link) === $mysqli->sqlstate);
198 printf("mysqli->sqlstate = '%s'/%s ('%s'/%s)\n",
199 $mysqli->sqlstate, gettype($mysqli->sqlstate),
202 assert(mysqli_get_host_info($link) === $mysqli->host_info);
203 printf("mysqli->host_info = '%s'/%s ('%s'/%s)\n",
204 $mysqli->host_info, gettype($mysqli->host_info),
208 assert(mysqli_info($link) == $mysqli->info);
209 printf("mysqli->info = '%s'/%s ('%s'/%s)\n",
210 $mysqli->info, gettype($mysqli->info),
213 assert(mysqli_thread_id($link) > $mysqli->thread_id);
214 assert(gettype($mysqli->thread_id) == gettype(mysqli_thread_id($link)));
215 printf("mysqli->thread_id = '%s'/%s ('%s'/%s)\n",
216 $mysqli->thread_id, gettype($mysqli->thread_id),
219 assert(mysqli_get_proto_info($link) === $mysqli->protocol_version);
220 printf("mysqli->protocol_version = '%s'/%s ('%s'/%s)\n",
221 $mysqli->protocol_version, gettype($mysqli->protocol_version),
224 assert(mysqli_get_server_info($link) === $mysqli->server_info);
225 printf("mysqli->server_info = '%s'/%s ('%s'/%s)\n",
226 $mysqli->server_info, gettype($mysqli->server_info),
229 assert(mysqli_get_server_version($link) === $mysqli->server_version);
230 printf("mysqli->server_version = '%s'/%s ('%s'/%s)\n",
231 $mysqli->server_version, gettype($mysqli->server_version),
234 assert(mysqli_warning_count($link) === $mysqli->warning_count);
235 printf("mysqli->warning_count = '%s'/%s ('%s'/%s)\n",
236 $mysqli->warning_count, gettype($mysqli->warning_count),
240 printf("mysqli->unknown = '%s'\n", @$mysqli->unknown);
242 @$mysqli->unknown = 13;
243 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
246 @$mysqli->unknown = $unknown;
247 printf("setting mysqli->unknown, mysqli_unknown = '%s'\n", @$mysqli->unknown);
249 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket);
251 assert(mysqli_connect_error() === $mysqli->connect_error);
252 printf("mysqli->connect_error = '%s'/%s ('%s'/%s)\n",
253 $mysqli->connect_error, gettype($mysqli->connect_error),
256 assert(mysqli_connect_errno() === $mysqli->connect_errno);
257 printf("mysqli->connect_errno = '%s'/%s ('%s'/%s)\n",
258 $mysqli->connect_errno, gettype($mysqli->connect_errno),
277 mysqli->affected_rows = '%s'/integer ('%s'/integer)
278 mysqli->client_info = '%s'/string ('%s'/string)
279 mysqli->client_version = '%d'/integer ('%d'/integer)
280 mysqli->errno = '0'/integer ('0'/integer)
281 mysqli->error = ''/string (''/string)
282 mysqli->field_count = '0'/integer ('0'/integer)
283 mysqli->insert_id = '0'/integer ('0'/integer)
284 mysqli->sqlstate = '00000'/string ('00000'/string)
285 mysqli->host_info = '%s'/string ('%s'/string)
286 mysqli->info = ''/NULL (''/NULL)
287 mysqli->thread_id = '%d'/integer ('%d'/integer)
288 mysqli->protocol_version = '%d'/integer ('%d'/integer)
289 mysqli->server_info = '%s'/string ('%s'/string)
290 mysqli->server_version = '%d'/integer ('%d'/integer)
291 mysqli->warning_count = '0'/integer ('0'/integer)
294 mysqli->unknown = ''
295 setting mysqli->unknown, mysqli_unknown = '13'
296 setting mysqli->unknown, mysqli_unknown = 'friday'
299 mysqli->connect_error = ''/NULL (''/NULL)
300 mysqli->connect_errno = '0'/integer ('0'/integer)