xref: /php-src/ext/mysqli/mysqli.stub.php (revision 62a3bbd0)
1<?php
2
3/** @generate-class-entries */
4
5/* mysqli_options */
6/**
7 * @var int
8 * @cvalue MYSQL_READ_DEFAULT_GROUP
9 */
10const MYSQLI_READ_DEFAULT_GROUP = UNKNOWN;
11/**
12 * @var int
13 * @cvalue MYSQL_READ_DEFAULT_FILE
14 */
15const MYSQLI_READ_DEFAULT_FILE = UNKNOWN;
16/**
17 * @var int
18 * @cvalue MYSQL_OPT_CONNECT_TIMEOUT
19 */
20const MYSQLI_OPT_CONNECT_TIMEOUT = UNKNOWN;
21/**
22 * @var int
23 * @cvalue MYSQL_OPT_LOCAL_INFILE
24 */
25const MYSQLI_OPT_LOCAL_INFILE = UNKNOWN;
26/**
27 * @var int
28 * @cvalue MYSQL_OPT_LOAD_DATA_LOCAL_DIR
29 */
30const MYSQLI_OPT_LOAD_DATA_LOCAL_DIR = UNKNOWN;
31/**
32 * @var int
33 * @cvalue MYSQL_INIT_COMMAND
34 */
35const MYSQLI_INIT_COMMAND = UNKNOWN;
36/**
37 * @var int
38 * @cvalue MYSQL_OPT_READ_TIMEOUT
39 */
40const MYSQLI_OPT_READ_TIMEOUT = UNKNOWN;
41/**
42 * @var int
43 * @cvalue MYSQLND_OPT_NET_CMD_BUFFER_SIZE
44 */
45const MYSQLI_OPT_NET_CMD_BUFFER_SIZE = UNKNOWN;
46/**
47 * @var int
48 * @cvalue MYSQLND_OPT_NET_READ_BUFFER_SIZE
49 */
50const MYSQLI_OPT_NET_READ_BUFFER_SIZE = UNKNOWN;
51/**
52 * @var int
53 * @cvalue MYSQLND_OPT_INT_AND_FLOAT_NATIVE
54 */
55const MYSQLI_OPT_INT_AND_FLOAT_NATIVE = UNKNOWN;
56/**
57 * @var int
58 * @cvalue MYSQL_OPT_SSL_VERIFY_SERVER_CERT
59 */
60const MYSQLI_OPT_SSL_VERIFY_SERVER_CERT = UNKNOWN;
61
62/**
63 * @var int
64 * @cvalue MYSQL_SERVER_PUBLIC_KEY
65 */
66const MYSQLI_SERVER_PUBLIC_KEY = UNKNOWN;
67
68/* mysqli_real_connect flags */
69/**
70 * @var int
71 * @cvalue CLIENT_SSL
72 */
73const MYSQLI_CLIENT_SSL = UNKNOWN;
74/**
75 * @var int
76 * @cvalue CLIENT_COMPRESS
77 */
78const MYSQLI_CLIENT_COMPRESS = UNKNOWN;
79/**
80 * @var int
81 * @cvalue CLIENT_INTERACTIVE
82 */
83const MYSQLI_CLIENT_INTERACTIVE = UNKNOWN;
84/**
85 * @var int
86 * @cvalue CLIENT_IGNORE_SPACE
87 */
88const MYSQLI_CLIENT_IGNORE_SPACE = UNKNOWN;
89/**
90 * @var int
91 * @cvalue CLIENT_NO_SCHEMA
92 */
93const MYSQLI_CLIENT_NO_SCHEMA = UNKNOWN;
94/**
95 * @var int
96 * @cvalue CLIENT_FOUND_ROWS
97 */
98const MYSQLI_CLIENT_FOUND_ROWS = UNKNOWN;
99#ifdef CLIENT_SSL_VERIFY_SERVER_CERT
100/**
101 * @var int
102 * @cvalue CLIENT_SSL_VERIFY_SERVER_CERT
103 */
104const MYSQLI_CLIENT_SSL_VERIFY_SERVER_CERT = UNKNOWN;
105/**
106 * @var int
107 * @cvalue CLIENT_SSL_DONT_VERIFY_SERVER_CERT
108 */
109const MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT = UNKNOWN;
110#endif
111/**
112 * @var int
113 * @cvalue CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS
114 */
115const MYSQLI_CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS = UNKNOWN;
116/**
117 * @var int
118 * @cvalue MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS
119 */
120const MYSQLI_OPT_CAN_HANDLE_EXPIRED_PASSWORDS = UNKNOWN;
121
122/* for mysqli_query */
123/**
124 * @var int
125 * @cvalue MYSQLI_STORE_RESULT
126 */
127const MYSQLI_STORE_RESULT = UNKNOWN;
128/**
129 * @var int
130 * @cvalue MYSQLI_USE_RESULT
131 */
132const MYSQLI_USE_RESULT = UNKNOWN;
133/**
134 * @var int
135 * @cvalue MYSQLI_ASYNC
136 */
137const MYSQLI_ASYNC = UNKNOWN;
138/**
139 * @var int
140 * @cvalue MYSQLI_STORE_RESULT_COPY_DATA
141 */
142const MYSQLI_STORE_RESULT_COPY_DATA = UNKNOWN;
143
144/* for mysqli_fetch_assoc */
145/**
146 * @var int
147 * @cvalue MYSQLI_ASSOC
148 */
149const MYSQLI_ASSOC = UNKNOWN;
150/**
151 * @var int
152 * @cvalue MYSQLI_NUM
153 */
154const MYSQLI_NUM = UNKNOWN;
155/**
156 * @var int
157 * @cvalue MYSQLI_BOTH
158 */
159const MYSQLI_BOTH = UNKNOWN;
160
161/* for mysqli_stmt_set_attr */
162/**
163 * @var int
164 * @cvalue STMT_ATTR_UPDATE_MAX_LENGTH
165 */
166const MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH = UNKNOWN;
167
168/**
169 * @var int
170 * @cvalue STMT_ATTR_CURSOR_TYPE
171 */
172const MYSQLI_STMT_ATTR_CURSOR_TYPE = UNKNOWN;
173/**
174 * @var int
175 * @cvalue CURSOR_TYPE_NO_CURSOR
176 */
177const MYSQLI_CURSOR_TYPE_NO_CURSOR = UNKNOWN;
178/**
179 * @var int
180 * @cvalue CURSOR_TYPE_READ_ONLY
181 */
182const MYSQLI_CURSOR_TYPE_READ_ONLY = UNKNOWN;
183/**
184 * @var int
185 * @cvalue CURSOR_TYPE_FOR_UPDATE
186 */
187const MYSQLI_CURSOR_TYPE_FOR_UPDATE = UNKNOWN;
188/**
189 * @var int
190 * @cvalue CURSOR_TYPE_SCROLLABLE
191 */
192const MYSQLI_CURSOR_TYPE_SCROLLABLE = UNKNOWN;
193/**
194 * @var int
195 * @cvalue STMT_ATTR_PREFETCH_ROWS
196 */
197const MYSQLI_STMT_ATTR_PREFETCH_ROWS = UNKNOWN;
198
199/* column information */
200/**
201 * @var int
202 * @cvalue NOT_NULL_FLAG
203 */
204const MYSQLI_NOT_NULL_FLAG = UNKNOWN;
205/**
206 * @var int
207 * @cvalue PRI_KEY_FLAG
208 */
209const MYSQLI_PRI_KEY_FLAG = UNKNOWN;
210/**
211 * @var int
212 * @cvalue UNIQUE_KEY_FLAG
213 */
214const MYSQLI_UNIQUE_KEY_FLAG = UNKNOWN;
215/**
216 * @var int
217 * @cvalue MULTIPLE_KEY_FLAG
218 */
219const MYSQLI_MULTIPLE_KEY_FLAG = UNKNOWN;
220/**
221 * @var int
222 * @cvalue BLOB_FLAG
223 */
224const MYSQLI_BLOB_FLAG = UNKNOWN;
225/**
226 * @var int
227 * @cvalue UNSIGNED_FLAG
228 */
229const MYSQLI_UNSIGNED_FLAG = UNKNOWN;
230/**
231 * @var int
232 * @cvalue ZEROFILL_FLAG
233 */
234const MYSQLI_ZEROFILL_FLAG = UNKNOWN;
235/**
236 * @var int
237 * @cvalue AUTO_INCREMENT_FLAG
238 */
239const MYSQLI_AUTO_INCREMENT_FLAG = UNKNOWN;
240/**
241 * @var int
242 * @cvalue TIMESTAMP_FLAG
243 */
244const MYSQLI_TIMESTAMP_FLAG = UNKNOWN;
245/**
246 * @var int
247 * @cvalue SET_FLAG
248 */
249const MYSQLI_SET_FLAG = UNKNOWN;
250/**
251 * @var int
252 * @cvalue NUM_FLAG
253 */
254const MYSQLI_NUM_FLAG = UNKNOWN;
255/**
256 * @var int
257 * @cvalue PART_KEY_FLAG
258 */
259const MYSQLI_PART_KEY_FLAG = UNKNOWN;
260/**
261 * @var int
262 * @cvalue GROUP_FLAG
263 */
264const MYSQLI_GROUP_FLAG = UNKNOWN;
265/**
266 * @var int
267 * @cvalue ENUM_FLAG
268 */
269const MYSQLI_ENUM_FLAG = UNKNOWN;
270/**
271 * @var int
272 * @cvalue BINARY_FLAG
273 */
274const MYSQLI_BINARY_FLAG = UNKNOWN;
275/**
276 * @var int
277 * @cvalue NO_DEFAULT_VALUE_FLAG
278 */
279const MYSQLI_NO_DEFAULT_VALUE_FLAG = UNKNOWN;
280
281/**
282 * @var int
283 * @cvalue ON_UPDATE_NOW_FLAG
284 */
285const MYSQLI_ON_UPDATE_NOW_FLAG = UNKNOWN;
286
287/**
288 * @var int
289 * @cvalue FIELD_TYPE_DECIMAL
290 */
291const MYSQLI_TYPE_DECIMAL = UNKNOWN;
292/**
293 * @var int
294 * @cvalue FIELD_TYPE_TINY
295 */
296const MYSQLI_TYPE_TINY = UNKNOWN;
297/**
298 * @var int
299 * @cvalue FIELD_TYPE_SHORT
300 */
301const MYSQLI_TYPE_SHORT = UNKNOWN;
302/**
303 * @var int
304 * @cvalue FIELD_TYPE_LONG
305 */
306const MYSQLI_TYPE_LONG = UNKNOWN;
307/**
308 * @var int
309 * @cvalue FIELD_TYPE_FLOAT
310 */
311const MYSQLI_TYPE_FLOAT = UNKNOWN;
312/**
313 * @var int
314 * @cvalue FIELD_TYPE_DOUBLE
315 */
316const MYSQLI_TYPE_DOUBLE = UNKNOWN;
317/**
318 * @var int
319 * @cvalue FIELD_TYPE_NULL
320 */
321const MYSQLI_TYPE_NULL = UNKNOWN;
322/**
323 * @var int
324 * @cvalue FIELD_TYPE_TIMESTAMP
325 */
326const MYSQLI_TYPE_TIMESTAMP = UNKNOWN;
327/**
328 * @var int
329 * @cvalue FIELD_TYPE_LONGLONG
330 */
331const MYSQLI_TYPE_LONGLONG = UNKNOWN;
332/**
333 * @var int
334 * @cvalue FIELD_TYPE_INT24
335 */
336const MYSQLI_TYPE_INT24 = UNKNOWN;
337/**
338 * @var int
339 * @cvalue FIELD_TYPE_DATE
340 */
341const MYSQLI_TYPE_DATE = UNKNOWN;
342/**
343 * @var int
344 * @cvalue FIELD_TYPE_TIME
345 */
346const MYSQLI_TYPE_TIME = UNKNOWN;
347/**
348 * @var int
349 * @cvalue FIELD_TYPE_DATETIME
350 */
351const MYSQLI_TYPE_DATETIME = UNKNOWN;
352/**
353 * @var int
354 * @cvalue FIELD_TYPE_YEAR
355 */
356const MYSQLI_TYPE_YEAR = UNKNOWN;
357/**
358 * @var int
359 * @cvalue FIELD_TYPE_NEWDATE
360 */
361const MYSQLI_TYPE_NEWDATE = UNKNOWN;
362/**
363 * @var int
364 * @cvalue FIELD_TYPE_ENUM
365 */
366const MYSQLI_TYPE_ENUM = UNKNOWN;
367/**
368 * @var int
369 * @cvalue FIELD_TYPE_SET
370 */
371const MYSQLI_TYPE_SET = UNKNOWN;
372/**
373 * @var int
374 * @cvalue FIELD_TYPE_TINY_BLOB
375 */
376const MYSQLI_TYPE_TINY_BLOB = UNKNOWN;
377/**
378 * @var int
379 * @cvalue FIELD_TYPE_MEDIUM_BLOB
380 */
381const MYSQLI_TYPE_MEDIUM_BLOB = UNKNOWN;
382/**
383 * @var int
384 * @cvalue FIELD_TYPE_LONG_BLOB
385 */
386const MYSQLI_TYPE_LONG_BLOB = UNKNOWN;
387/**
388 * @var int
389 * @cvalue FIELD_TYPE_BLOB
390 */
391const MYSQLI_TYPE_BLOB = UNKNOWN;
392/**
393 * @var int
394 * @cvalue FIELD_TYPE_VAR_STRING
395 */
396const MYSQLI_TYPE_VAR_STRING = UNKNOWN;
397/**
398 * @var int
399 * @cvalue FIELD_TYPE_STRING
400 */
401const MYSQLI_TYPE_STRING = UNKNOWN;
402/**
403 * @var int
404 * @cvalue FIELD_TYPE_CHAR
405 */
406const MYSQLI_TYPE_CHAR = UNKNOWN;
407/**
408 * @var int
409 * @cvalue FIELD_TYPE_INTERVAL
410 */
411const MYSQLI_TYPE_INTERVAL = UNKNOWN;
412/**
413 * @var int
414 * @cvalue FIELD_TYPE_GEOMETRY
415 */
416const MYSQLI_TYPE_GEOMETRY = UNKNOWN;
417#ifdef FIELD_TYPE_JSON
418/**
419 * @var int
420 * @cvalue FIELD_TYPE_JSON
421 */
422const MYSQLI_TYPE_JSON = UNKNOWN;
423#endif
424/**
425 * @var int
426 * @cvalue FIELD_TYPE_NEWDECIMAL
427 */
428const MYSQLI_TYPE_NEWDECIMAL = UNKNOWN;
429/**
430 * @var int
431 * @cvalue FIELD_TYPE_BIT
432 */
433const MYSQLI_TYPE_BIT = UNKNOWN;
434/**
435 * @var int
436 * @cvalue MYSQL_SET_CHARSET_NAME
437 */
438const MYSQLI_SET_CHARSET_NAME = UNKNOWN;
439
440/* bind support */
441/**
442 * @var int
443 * @cvalue MYSQL_NO_DATA
444 * @deprecated
445 */
446const MYSQLI_NO_DATA = UNKNOWN;
447#ifdef MYSQL_DATA_TRUNCATED
448/**
449 * @var int
450 * @cvalue MYSQL_DATA_TRUNCATED
451 * @deprecated
452 */
453const MYSQLI_DATA_TRUNCATED = UNKNOWN;
454#endif
455
456/* reporting */
457/**
458 * @var int
459 * @cvalue MYSQLI_REPORT_INDEX
460 */
461const MYSQLI_REPORT_INDEX = UNKNOWN;
462/**
463 * @var int
464 * @cvalue MYSQLI_REPORT_ERROR
465 */
466const MYSQLI_REPORT_ERROR = UNKNOWN;
467/**
468 * @var int
469 * @cvalue MYSQLI_REPORT_STRICT
470 */
471const MYSQLI_REPORT_STRICT = UNKNOWN;
472/**
473 * @var int
474 * @cvalue MYSQLI_REPORT_ALL
475 */
476const MYSQLI_REPORT_ALL = UNKNOWN;
477/**
478 * @var int
479 * @cvalue MYSQLI_REPORT_OFF
480 */
481const MYSQLI_REPORT_OFF = UNKNOWN;
482
483/**
484 * @var int
485 * @cvalue MYSQLND_DBG_ENABLED
486 */
487const MYSQLI_DEBUG_TRACE_ENABLED = UNKNOWN;
488
489/**
490 * @var int
491 * @cvalue SERVER_QUERY_NO_GOOD_INDEX_USED
492 * @deprecated
493 */
494const MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED = UNKNOWN;
495/**
496 * @var int
497 * @cvalue SERVER_QUERY_NO_INDEX_USED
498 * @deprecated
499 */
500const MYSQLI_SERVER_QUERY_NO_INDEX_USED = UNKNOWN;
501#ifdef SERVER_QUERY_WAS_SLOW
502/**
503 * @var int
504 * @cvalue SERVER_QUERY_WAS_SLOW
505 * @deprecated
506 */
507const MYSQLI_SERVER_QUERY_WAS_SLOW = UNKNOWN;
508#endif
509#ifdef SERVER_PS_OUT_PARAMS
510/**
511 * @var int
512 * @cvalue SERVER_PS_OUT_PARAMS
513 * @deprecated
514 */
515const MYSQLI_SERVER_PS_OUT_PARAMS = UNKNOWN;
516#endif
517
518/**
519 * @var int
520 * @cvalue REFRESH_GRANT
521 */
522const MYSQLI_REFRESH_GRANT = UNKNOWN;
523/**
524 * @var int
525 * @cvalue REFRESH_LOG
526 */
527const MYSQLI_REFRESH_LOG = UNKNOWN;
528/**
529 * @var int
530 * @cvalue REFRESH_TABLES
531 */
532const MYSQLI_REFRESH_TABLES = UNKNOWN;
533/**
534 * @var int
535 * @cvalue REFRESH_HOSTS
536 */
537const MYSQLI_REFRESH_HOSTS = UNKNOWN;
538/**
539 * @var int
540 * @cvalue REFRESH_STATUS
541 */
542const MYSQLI_REFRESH_STATUS = UNKNOWN;
543/**
544 * @var int
545 * @cvalue REFRESH_THREADS
546 */
547const MYSQLI_REFRESH_THREADS = UNKNOWN;
548/**
549 * @var int
550 * @cvalue REFRESH_SLAVE
551 */
552const MYSQLI_REFRESH_REPLICA = UNKNOWN;
553/**
554 * @var int
555 * @cvalue REFRESH_SLAVE
556 */
557const MYSQLI_REFRESH_SLAVE = UNKNOWN;
558/**
559 * @var int
560 * @cvalue REFRESH_MASTER
561 */
562const MYSQLI_REFRESH_MASTER = UNKNOWN;
563#ifdef REFRESH_BACKUP_LOG
564/**
565 * @var int
566 * @cvalue REFRESH_BACKUP_LOG
567 */
568const MYSQLI_REFRESH_BACKUP_LOG = UNKNOWN;
569#endif
570
571/**
572 * @var int
573 * @cvalue TRANS_START_WITH_CONSISTENT_SNAPSHOT
574 */
575const MYSQLI_TRANS_START_WITH_CONSISTENT_SNAPSHOT = UNKNOWN;
576/**
577 * @var int
578 * @cvalue TRANS_START_READ_WRITE
579 */
580const MYSQLI_TRANS_START_READ_WRITE = UNKNOWN;
581/**
582 * @var int
583 * @cvalue TRANS_START_READ_ONLY
584 */
585const MYSQLI_TRANS_START_READ_ONLY = UNKNOWN;
586
587/**
588 * @var int
589 * @cvalue TRANS_COR_AND_CHAIN
590 */
591const MYSQLI_TRANS_COR_AND_CHAIN = UNKNOWN;
592/**
593 * @var int
594 * @cvalue TRANS_COR_AND_NO_CHAIN
595 */
596const MYSQLI_TRANS_COR_AND_NO_CHAIN = UNKNOWN;
597/**
598 * @var int
599 * @cvalue TRANS_COR_RELEASE
600 */
601const MYSQLI_TRANS_COR_RELEASE = UNKNOWN;
602/**
603 * @var int
604 * @cvalue TRANS_COR_NO_RELEASE
605 */
606const MYSQLI_TRANS_COR_NO_RELEASE = UNKNOWN;
607
608/**
609 * @var bool
610 * @deprecated
611 */
612const MYSQLI_IS_MARIADB = false;
613
614final class mysqli_driver
615{
616    /** @readonly */
617    public string $client_info;
618
619    /** @readonly */
620    public int $client_version;
621
622    /** @readonly */
623    public int $driver_version;
624
625    public int $report_mode = 0;
626}
627
628class mysqli
629{
630    /**
631     * @readonly
632     * @link mysqli.affected-rows
633     */
634    public int|string $affected_rows;
635
636    /**
637     * @readonly
638     * @link mysqli.get-client-info
639     */
640    public string $client_info;
641
642    /**
643     * @readonly
644     * @link mysqli.get-client-version
645     */
646    public int $client_version;
647
648    /**
649     * @readonly
650     * @link mysqli.connect-errno
651     */
652    public int $connect_errno;
653
654    /**
655     * @readonly
656     * @link mysqli.connect-error
657     */
658    public ?string $connect_error;
659
660    /**
661     * @readonly
662     * @link mysqli.errno
663     */
664    public int $errno;
665
666    /**
667     * @readonly
668     * @link mysqli.error
669     */
670    public string $error;
671
672    /**
673     * @readonly
674     * @link mysqli.error-list
675     */
676    public array $error_list;
677
678    /**
679     * @readonly
680     * @link mysqli.field-count
681     */
682    public int $field_count;
683
684    /**
685     * @readonly
686     * @link mysqli.get-host-info
687     */
688    public string $host_info;
689
690    /**
691     * @readonly
692     * @link mysqli.info
693     */
694    public ?string $info;
695
696    /**
697     * @readonly
698     * @link mysqli.insert-id
699     */
700    public int|string $insert_id;
701
702    /**
703     * @readonly
704     * @link mysqli.get-server-info
705     */
706    public string $server_info;
707
708    /**
709     * @readonly
710     * @link mysqli.get-server-version
711     */
712    public int $server_version;
713
714    /**
715     * @readonly
716     * @link mysqli.sqlstate
717     */
718    public string $sqlstate;
719
720    /**
721     * @readonly
722     * @link mysqli.get-proto-info
723     */
724    public int $protocol_version;
725
726    /**
727     * @readonly
728     * @link mysqli.thread-id
729     */
730    public int $thread_id;
731
732    /**
733     * @readonly
734     * @link mysqli.warning-count
735     */
736    public int $warning_count;
737
738    public function __construct(
739        ?string $hostname = null,
740        ?string $username = null,
741        #[\SensitiveParameter] ?string $password = null,
742        ?string $database = null,
743        ?int $port = null,
744        ?string $socket = null
745    ) {}
746
747    /**
748     * @tentative-return-type
749     * @alias mysqli_autocommit
750     */
751    public function autocommit(bool $enable): bool {}
752
753    /**
754     * @tentative-return-type
755     * @alias mysqli_begin_transaction
756     */
757    public function begin_transaction(int $flags = 0, ?string $name = null): bool {}
758
759    /**
760     * @tentative-return-type
761     * @alias mysqli_change_user
762     */
763    public function change_user(string $username, #[\SensitiveParameter] string $password, ?string $database): bool {}
764
765    /**
766     * @tentative-return-type
767     * @alias mysqli_character_set_name
768     */
769    public function character_set_name(): string {}
770
771    /**
772     * @tentative-return-type
773     * @alias mysqli_close
774     */
775    public function close(): true {}
776
777    /**
778     * @tentative-return-type
779     * @alias mysqli_commit
780     */
781    public function commit(int $flags = 0, ?string $name = null): bool {}
782
783    /**
784     * @tentative-return-type
785     * @alias mysqli_connect
786     * @no-verify
787     */
788    public function connect(
789        ?string $hostname = null,
790        ?string $username = null,
791        #[\SensitiveParameter] ?string $password = null,
792        ?string $database = null,
793        ?int $port = null,
794        ?string $socket = null
795    ): bool {}
796
797    /**
798     * @tentative-return-type
799     * @alias mysqli_dump_debug_info
800     */
801    public function dump_debug_info(): bool {}
802
803    /**
804     * @tentative-return-type
805     * @alias mysqli_debug
806     * @no-verify Should really be a static method
807     */
808    public function debug(string $options): true {}
809
810    /**
811     * @tentative-return-type
812     * @alias mysqli_get_charset
813     */
814    public function get_charset(): ?object {}
815
816    /**
817     * @alias mysqli_execute_query
818     */
819    public function execute_query(string $query, ?array $params = null): mysqli_result|bool {}
820
821    /**
822     * @tentative-return-type
823     * @alias mysqli_get_client_info
824     * @deprecated 8.1.0
825     */
826    public function get_client_info(): string {}
827
828    /**
829     * @return array<string, mixed>
830     * @tentative-return-type
831     * @alias mysqli_get_connection_stats
832     */
833    public function get_connection_stats(): array {}
834
835    /**
836     * @tentative-return-type
837     * @alias mysqli_get_server_info
838     */
839    public function get_server_info(): string {}
840
841    /**
842     * @tentative-return-type
843     * @alias mysqli_get_warnings
844     */
845    public function get_warnings(): mysqli_warning|false {}
846
847    /**
848     * @deprecated
849     * @return bool|null
850     * */
851    public function init() {}
852
853    /**
854     * @tentative-return-type
855     * @alias mysqli_kill
856     */
857    public function kill(int $process_id): bool {}
858
859    /**
860     * @tentative-return-type
861     * @alias mysqli_multi_query
862     */
863    public function multi_query(string $query): bool {}
864
865    /**
866     * @tentative-return-type
867     * @alias mysqli_more_results
868     */
869    public function more_results(): bool {}
870
871    /**
872     * @tentative-return-type
873     * @alias mysqli_next_result
874     */
875    public function next_result(): bool {}
876
877    /**
878     * @tentative-return-type
879     * @alias mysqli_ping
880     */
881    public function ping(): bool {}
882
883    /**
884     * @tentative-return-type
885     * @alias mysqli_poll
886     */
887    public static function poll(?array &$read, ?array &$error, array &$reject, int $seconds, int $microseconds = 0): int|false {}
888
889    /**
890     * @tentative-return-type
891     * @alias mysqli_prepare
892     */
893    public function prepare(string $query): mysqli_stmt|false {}
894
895    /**
896     * @tentative-return-type
897     * @alias mysqli_query
898     */
899    public function query(string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {}
900
901    /**
902     * @tentative-return-type
903     * @alias mysqli_real_connect
904     */
905    public function real_connect(
906        ?string $hostname = null,
907        ?string $username = null,
908        #[\SensitiveParameter] ?string $password = null,
909        ?string $database = null,
910        ?int $port = null,
911        ?string $socket = null,
912        int $flags = 0
913    ): bool {}
914
915    /**
916     * @tentative-return-type
917     * @alias mysqli_real_escape_string
918     */
919    public function real_escape_string(string $string): string {}
920
921    /**
922     * @tentative-return-type
923     * @alias mysqli_reap_async_query
924     */
925    public function reap_async_query(): mysqli_result|bool {}
926
927    /**
928     * @tentative-return-type
929     * @alias mysqli_real_escape_string
930     */
931    public function escape_string(string $string): string {}
932
933    /**
934     * @tentative-return-type
935     * @alias mysqli_real_query
936     */
937    public function real_query(string $query): bool {}
938
939    /**
940     * @tentative-return-type
941     * @alias mysqli_release_savepoint
942     */
943    public function release_savepoint(string $name): bool {}
944
945    /**
946     * @tentative-return-type
947     * @alias mysqli_rollback
948     */
949    public function rollback(int $flags = 0, ?string $name = null): bool {}
950
951    /**
952     * @tentative-return-type
953     * @alias mysqli_savepoint
954     */
955    public function savepoint(string $name): bool {}
956
957    /**
958     * @tentative-return-type
959     * @alias mysqli_select_db
960     */
961    public function select_db(string $database): bool {}
962
963    /**
964     * @tentative-return-type
965     * @alias mysqli_set_charset
966     */
967    public function set_charset(string $charset): bool {}
968
969    /**
970     * @param string|int $value
971     * @tentative-return-type
972     * @alias mysqli_options
973     */
974    public function options(int $option, $value): bool {}
975
976    /**
977     * @param string|int $value
978     * @tentative-return-type
979     * @alias mysqli_options
980     */
981    public function set_opt(int $option, $value): bool {}
982
983    /**
984     * @tentative-return-type
985     * @alias mysqli_ssl_set
986     */
987    public function ssl_set(
988        ?string $key,
989        ?string $certificate,
990        ?string $ca_certificate,
991        ?string $ca_path,
992        ?string $cipher_algos
993    ): true {}
994
995    /**
996     * @tentative-return-type
997     * @alias mysqli_stat
998     */
999    public function stat(): string|false {}
1000
1001    /**
1002     * @tentative-return-type
1003     * @alias mysqli_stmt_init
1004     */
1005    public function stmt_init(): mysqli_stmt|false {}
1006
1007    /**
1008     * @tentative-return-type
1009     * @alias mysqli_store_result
1010     */
1011    public function store_result(int $mode = 0): mysqli_result|false {}
1012
1013    /**
1014     * @tentative-return-type
1015     * @alias mysqli_thread_safe
1016     */
1017    public function thread_safe(): bool {}
1018
1019    /**
1020     * @tentative-return-type
1021     * @alias mysqli_use_result
1022     */
1023    public function use_result(): mysqli_result|false {}
1024
1025    /**
1026     * @tentative-return-type
1027     * @alias mysqli_refresh
1028     */
1029    public function refresh(int $flags): bool {}
1030}
1031
1032class mysqli_result implements IteratorAggregate
1033{
1034    /**
1035     * @readonly
1036     * @link mysqli-result.current-field
1037     */
1038    public int $current_field;
1039
1040    /**
1041     * @readonly
1042     * @link mysqli-result.field-count
1043     */
1044    public int $field_count;
1045
1046    /**
1047     * @readonly
1048     * @link mysqli-result.lengths
1049     */
1050    public ?array $lengths;
1051
1052    /**
1053     * @readonly
1054     * @link mysqli-result.num-rows
1055     */
1056    public int|string $num_rows;
1057
1058    public int $type;
1059
1060    public function __construct(mysqli $mysql, int $result_mode = MYSQLI_STORE_RESULT) {}
1061
1062    /**
1063     * @tentative-return-type
1064     * @alias mysqli_free_result
1065     */
1066    public function close(): void {}
1067
1068    /**
1069     * @tentative-return-type
1070     * @alias mysqli_free_result
1071     */
1072    public function free(): void {}
1073
1074    /**
1075     * @tentative-return-type
1076     * @alias mysqli_data_seek
1077     */
1078    public function data_seek(int $offset): bool {}
1079
1080    /**
1081     * @tentative-return-type
1082     * @alias mysqli_fetch_field
1083     */
1084    public function fetch_field(): object|false {}
1085
1086    /**
1087     * @return array<int, object>
1088     * @tentative-return-type
1089     * @alias mysqli_fetch_fields
1090     */
1091    public function fetch_fields(): array {}
1092
1093    /**
1094     * @tentative-return-type
1095     * @alias mysqli_fetch_field_direct
1096     */
1097    public function fetch_field_direct(int $index): object|false {}
1098
1099    /**
1100     * @return array<int|string, mixed>
1101     * @tentative-return-type
1102     * @alias mysqli_fetch_all
1103     */
1104    public function fetch_all(int $mode = MYSQLI_NUM): array {}
1105
1106    /**
1107     * @return array<int|string, mixed>|null|false
1108     * @tentative-return-type
1109     * @alias mysqli_fetch_array
1110     */
1111    public function fetch_array(int $mode = MYSQLI_BOTH): array|null|false {}
1112
1113    /**
1114     * @return array<int|string, mixed>|null|false
1115     * @tentative-return-type
1116     * @alias mysqli_fetch_assoc
1117     */
1118    public function fetch_assoc(): array|null|false {}
1119
1120    /**
1121     * @tentative-return-type
1122     * @alias mysqli_fetch_object
1123     */
1124    public function fetch_object(string $class = "stdClass", array $constructor_args = []): object|null|false {}
1125
1126    /**
1127     * @return array<int, mixed>|null|false
1128     * @tentative-return-type
1129     * @alias mysqli_fetch_row
1130     */
1131    public function fetch_row(): array|null|false {}
1132
1133    /** @alias mysqli_fetch_column */
1134    public function fetch_column(int $column = 0): null|int|float|string|false {}
1135
1136    /**
1137     * @tentative-return-type
1138     * @alias mysqli_field_seek
1139     */
1140    public function field_seek(int $index): true {}
1141
1142    /**
1143     * @tentative-return-type
1144     * @alias mysqli_free_result
1145     */
1146    public function free_result(): void {}
1147
1148    public function getIterator(): Iterator {}
1149}
1150
1151class mysqli_stmt
1152{
1153    /**
1154     * @readonly
1155     * @link mysqli-stmt.affected-rows
1156     */
1157    public int|string $affected_rows;
1158
1159    /**
1160     * @readonly
1161     * @link mysqli-stmt.insert-id
1162     */
1163    public int|string $insert_id;
1164
1165    /**
1166     * @readonly
1167     * @link mysqli-stmt.num-rows
1168     */
1169    public int|string $num_rows;
1170
1171    /**
1172     * @readonly
1173     * @link mysqli-stmt.param-count
1174     */
1175    public int $param_count;
1176
1177    /**
1178     * @readonly
1179     * @link mysqli-stmt.field-count
1180     */
1181    public int $field_count;
1182
1183    /**
1184     * @readonly
1185     * @link mysqli-stmt.errno
1186     */
1187    public int $errno;
1188
1189    /**
1190     * @readonly
1191     * @link mysqli-stmt.error
1192     */
1193    public string $error;
1194
1195    /**
1196     * @readonly
1197     * @link mysqli-stmt.error-list
1198     */
1199    public array $error_list;
1200
1201    /**
1202     * @readonly
1203     * @link mysqli-stmt.sqlstate
1204     */
1205    public string $sqlstate;
1206
1207    public int $id;
1208
1209    public function __construct(mysqli $mysql, ?string $query = null) {}
1210
1211    /**
1212     * @tentative-return-type
1213     * @alias mysqli_stmt_attr_get
1214     */
1215    public function attr_get(int $attribute): int {}
1216
1217    /**
1218     * @tentative-return-type
1219     * @alias mysqli_stmt_attr_set
1220     */
1221    public function attr_set(int $attribute, int $value): bool {}
1222
1223    /**
1224     * @tentative-return-type
1225     * @alias mysqli_stmt_bind_param
1226     */
1227    public function bind_param(string $types, mixed &...$vars): bool {}
1228
1229    /**
1230     * @tentative-return-type
1231     * @alias mysqli_stmt_bind_result
1232     */
1233    public function bind_result(mixed &...$vars): bool {}
1234
1235    /**
1236     * @tentative-return-type
1237     * @alias mysqli_stmt_close
1238     */
1239    public function close(): true {}
1240
1241    /**
1242     * @tentative-return-type
1243     * @alias mysqli_stmt_data_seek
1244     */
1245    public function data_seek(int $offset): void {}
1246
1247    /**
1248     * @tentative-return-type
1249     * @alias mysqli_stmt_execute
1250     */
1251    public function execute(?array $params = null): bool {}
1252
1253    /**
1254     * @tentative-return-type
1255     * @alias mysqli_stmt_fetch
1256     */
1257    public function fetch(): ?bool {}
1258
1259    /**
1260     * @tentative-return-type
1261     * @alias mysqli_stmt_get_warnings
1262     */
1263    public function get_warnings(): mysqli_warning|false {}
1264
1265    /**
1266     * @tentative-return-type
1267     * @alias mysqli_stmt_result_metadata
1268     */
1269    public function result_metadata(): mysqli_result|false {}
1270
1271    /**
1272     * @tentative-return-type
1273     * @alias mysqli_stmt_more_results
1274     */
1275    public function more_results(): bool {}
1276
1277    /**
1278     * @tentative-return-type
1279     * @alias mysqli_stmt_next_result
1280     */
1281    public function next_result(): bool {}
1282
1283    /**
1284     * @tentative-return-type
1285     * @alias mysqli_stmt_num_rows
1286     */
1287    public function num_rows(): int|string {}
1288
1289    /**
1290     * @tentative-return-type
1291     * @alias mysqli_stmt_send_long_data
1292     */
1293    public function send_long_data(int $param_num, string $data): bool {}
1294
1295    /**
1296     * @tentative-return-type
1297     * @alias mysqli_stmt_free_result
1298     */
1299    public function free_result(): void {}
1300
1301    /**
1302     * @tentative-return-type
1303     * @alias mysqli_stmt_reset
1304     */
1305    public function reset(): bool {}
1306
1307    /**
1308     * @tentative-return-type
1309     * @alias mysqli_stmt_prepare
1310     */
1311    public function prepare(string $query): bool {}
1312
1313    /**
1314     * @tentative-return-type
1315     * @alias mysqli_stmt_store_result
1316     */
1317    public function store_result(): bool {}
1318
1319    /**
1320     * @tentative-return-type
1321     * @alias mysqli_stmt_get_result
1322     */
1323    public function get_result(): mysqli_result|false {}
1324}
1325
1326final class mysqli_warning
1327{
1328    public string $message;
1329
1330    public string $sqlstate;
1331
1332    public int $errno;
1333
1334    private function __construct() {}
1335
1336    public function next(): bool {}
1337}
1338
1339final class mysqli_sql_exception extends RuntimeException
1340{
1341    protected string $sqlstate = "00000";
1342
1343    public function getSqlState(): string {}
1344}
1345
1346/** @refcount 1 */
1347function mysqli_affected_rows(mysqli $mysql): int|string {}
1348
1349function mysqli_autocommit(mysqli $mysql, bool $enable): bool {}
1350
1351function mysqli_begin_transaction(mysqli $mysql, int $flags = 0, ?string $name = null): bool {}
1352
1353function mysqli_change_user(mysqli $mysql, string $username, #[\SensitiveParameter] string $password, ?string $database): bool {}
1354
1355/** @refcount 1 */
1356function mysqli_character_set_name(mysqli $mysql): string {}
1357
1358function mysqli_close(mysqli $mysql): true {}
1359
1360function mysqli_commit(mysqli $mysql, int $flags = 0, ?string $name = null): bool {}
1361
1362/**
1363 * @refcount 1
1364 */
1365function mysqli_connect(
1366    ?string $hostname = null,
1367    ?string $username = null,
1368    #[\SensitiveParameter] ?string $password = null,
1369    ?string $database = null,
1370    ?int $port = null,
1371    ?string $socket = null
1372): mysqli|false {}
1373
1374function mysqli_connect_errno(): int {}
1375
1376/** @refcount 1 */
1377function mysqli_connect_error(): ?string {}
1378
1379function mysqli_data_seek(mysqli_result $result, int $offset): bool {}
1380
1381function mysqli_dump_debug_info(mysqli $mysql): bool {}
1382
1383function mysqli_debug(string $options): true {}
1384
1385function mysqli_errno(mysqli $mysql): int {}
1386
1387/** @refcount 1 */
1388function mysqli_error(mysqli $mysql): string {}
1389
1390/**
1391 * @return array<int, array>
1392 * @refcount 1
1393 */
1394function mysqli_error_list(mysqli $mysql): array {}
1395
1396function mysqli_stmt_execute(mysqli_stmt $statement, ?array $params = null): bool {}
1397
1398/** @alias mysqli_stmt_execute */
1399function mysqli_execute(mysqli_stmt $statement, ?array $params = null): bool {}
1400
1401function mysqli_execute_query(mysqli $mysql, string $query, ?array $params = null): mysqli_result|bool {}
1402
1403/** @refcount 1 */
1404function mysqli_fetch_field(mysqli_result $result): object|false {}
1405
1406/**
1407 * @return array<int, object>
1408 * @refcount 1
1409 */
1410function mysqli_fetch_fields(mysqli_result $result): array {}
1411
1412/** @refcount 1 */
1413function mysqli_fetch_field_direct(mysqli_result $result, int $index): object|false {}
1414
1415/**
1416 * @return array<int, int>|false
1417 * @refcount 1
1418 */
1419function mysqli_fetch_lengths(mysqli_result $result): array|false {}
1420
1421/**
1422 * @return array<int|string, mixed>
1423 * @refcount 1
1424 */
1425function mysqli_fetch_all(mysqli_result $result, int $mode = MYSQLI_NUM): array {}
1426
1427/**
1428 * @return array<int|string, mixed>|null|false
1429 * @refcount 1
1430 */
1431function mysqli_fetch_array(mysqli_result $result, int $mode = MYSQLI_BOTH): array|null|false {}
1432
1433/**
1434 * @return array<int|string, mixed>|null|false
1435 * @refcount 1
1436 */
1437function mysqli_fetch_assoc(mysqli_result $result): array|null|false {}
1438
1439/** @refcount 1 */
1440function mysqli_fetch_object(mysqli_result $result, string $class = "stdClass", array $constructor_args = []): object|null|false {}
1441
1442/**
1443 * @return array<int, mixed>|null|false
1444 * @refcount 1
1445 */
1446function mysqli_fetch_row(mysqli_result $result): array|null|false {}
1447
1448function mysqli_fetch_column(mysqli_result $result, int $column = 0): null|int|float|string|false {}
1449
1450function mysqli_field_count(mysqli $mysql): int {}
1451
1452function mysqli_field_seek(mysqli_result $result, int $index): true {}
1453
1454function mysqli_field_tell(mysqli_result $result): int {}
1455
1456function mysqli_free_result(mysqli_result $result): void {}
1457
1458/**
1459 * @return array<string, mixed>
1460 * @refcount 1
1461 */
1462function mysqli_get_connection_stats(mysqli $mysql): array {}
1463
1464/**
1465 * @return array<string, string>
1466 * @refcount 1
1467 */
1468function mysqli_get_client_stats(): array {}
1469
1470/** @refcount 1 */
1471function mysqli_get_charset(mysqli $mysql): ?object {}
1472
1473/** @refcount 1 */
1474function mysqli_get_client_info(?mysqli $mysql = null): string {}
1475
1476function mysqli_get_client_version(): int {}
1477
1478/**
1479 * @return array<string, int>
1480 * @refcount 1
1481 */
1482function mysqli_get_links_stats(): array {}
1483
1484/** @refcount 1 */
1485function mysqli_get_host_info(mysqli $mysql): string {}
1486
1487function mysqli_get_proto_info(mysqli $mysql): int {}
1488
1489/** @refcount 1 */
1490function mysqli_get_server_info(mysqli $mysql): string {}
1491
1492function mysqli_get_server_version(mysqli $mysql): int {}
1493
1494/** @refcount 1 */
1495function mysqli_get_warnings(mysqli $mysql): mysqli_warning|false {}
1496
1497/** @refcount 1 */
1498function mysqli_init(): mysqli|false {}
1499
1500/** @refcount 1 */
1501function mysqli_info(mysqli $mysql): ?string {}
1502
1503/** @refcount 1 */
1504function mysqli_insert_id(mysqli $mysql): int|string {}
1505
1506function mysqli_kill(mysqli $mysql, int $process_id): bool {}
1507
1508function mysqli_more_results(mysqli $mysql): bool {}
1509
1510function mysqli_multi_query(mysqli $mysql, string $query): bool {}
1511
1512function mysqli_next_result(mysqli $mysql): bool {}
1513
1514function mysqli_num_fields(mysqli_result $result): int {}
1515
1516/** @refcount 1 */
1517function mysqli_num_rows(mysqli_result $result): int|string {}
1518
1519/** @param string|int $value */
1520function mysqli_options(mysqli $mysql, int $option, $value): bool {}
1521
1522/**
1523 * @param string|int $value
1524 * @alias mysqli_options
1525 */
1526function mysqli_set_opt(mysqli $mysql, int $option, $value): bool {}
1527
1528function mysqli_ping(mysqli $mysql): bool {}
1529
1530function mysqli_poll(?array &$read, ?array &$error, array &$reject, int $seconds, int $microseconds = 0): int|false {}
1531
1532/** @refcount 1 */
1533function mysqli_prepare(mysqli $mysql, string $query): mysqli_stmt|false {}
1534
1535function mysqli_report(int $flags): bool {}
1536
1537/** @refcount 1 */
1538function mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT): mysqli_result|bool {}
1539
1540function mysqli_real_connect(
1541    mysqli $mysql,
1542    ?string $hostname = null,
1543    ?string $username = null,
1544    #[\SensitiveParameter]
1545    ?string $password = null,
1546    ?string $database = null,
1547    ?int $port = null,
1548    ?string $socket = null,
1549    int $flags = 0
1550): bool {}
1551
1552/** @refcount 1 */
1553function mysqli_real_escape_string(mysqli $mysql, string $string): string {}
1554
1555/** @alias mysqli_real_escape_string */
1556function mysqli_escape_string(mysqli $mysql, string $string): string {}
1557
1558function mysqli_real_query(mysqli $mysql, string $query): bool {}
1559
1560/** @refcount 1 */
1561function mysqli_reap_async_query(mysqli $mysql): mysqli_result|bool {}
1562
1563function mysqli_release_savepoint(mysqli $mysql, string $name): bool {}
1564
1565function mysqli_rollback(mysqli $mysql, int $flags = 0, ?string $name = null): bool {}
1566
1567function mysqli_savepoint(mysqli $mysql, string $name): bool {}
1568
1569function mysqli_select_db(mysqli $mysql, string $database): bool {}
1570
1571function mysqli_set_charset(mysqli $mysql, string $charset): bool {}
1572
1573/** @refcount 1 */
1574function mysqli_stmt_affected_rows(mysqli_stmt $statement): int|string {}
1575
1576function mysqli_stmt_attr_get(mysqli_stmt $statement, int $attribute): int {}
1577
1578function mysqli_stmt_attr_set(mysqli_stmt $statement, int $attribute, int $value): bool {}
1579
1580function mysqli_stmt_bind_param(mysqli_stmt $statement, string $types, mixed &...$vars): bool {}
1581
1582function mysqli_stmt_bind_result(mysqli_stmt $statement, mixed &...$vars): bool {}
1583
1584function mysqli_stmt_close(mysqli_stmt $statement): true {}
1585
1586function mysqli_stmt_data_seek(mysqli_stmt $statement, int $offset): void {}
1587
1588function mysqli_stmt_errno(mysqli_stmt $statement): int {}
1589
1590/** @refcount 1 */
1591function mysqli_stmt_error(mysqli_stmt $statement): string {}
1592
1593/**
1594 * @return array<int, array>
1595 * @refcount 1
1596 */
1597function mysqli_stmt_error_list(mysqli_stmt $statement): array {}
1598
1599function mysqli_stmt_fetch(mysqli_stmt $statement): ?bool {}
1600
1601function mysqli_stmt_field_count(mysqli_stmt $statement): int {}
1602
1603function mysqli_stmt_free_result(mysqli_stmt $statement): void {}
1604
1605/** @refcount 1 */
1606function mysqli_stmt_get_result(mysqli_stmt $statement): mysqli_result|false {}
1607
1608/** @refcount 1 */
1609function mysqli_stmt_get_warnings(mysqli_stmt $statement): mysqli_warning|false {}
1610
1611/** @refcount 1 */
1612function mysqli_stmt_init(mysqli $mysql): mysqli_stmt|false {}
1613
1614/** @refcount 1 */
1615function mysqli_stmt_insert_id(mysqli_stmt $statement): int|string {}
1616
1617function mysqli_stmt_more_results(mysqli_stmt $statement): bool {}
1618
1619function mysqli_stmt_next_result(mysqli_stmt $statement): bool {}
1620
1621/** @refcount 1 */
1622function mysqli_stmt_num_rows(mysqli_stmt $statement): int|string {}
1623
1624function mysqli_stmt_param_count(mysqli_stmt $statement): int {}
1625
1626function mysqli_stmt_prepare(mysqli_stmt $statement, string $query): bool {}
1627
1628function mysqli_stmt_reset(mysqli_stmt $statement): bool {}
1629
1630/** @refcount 1 */
1631function mysqli_stmt_result_metadata(mysqli_stmt $statement): mysqli_result|false {}
1632
1633function mysqli_stmt_send_long_data(mysqli_stmt $statement, int $param_num, string $data): bool {}
1634
1635function mysqli_stmt_store_result(mysqli_stmt $statement): bool {}
1636
1637/** @refcount 1 */
1638function mysqli_stmt_sqlstate(mysqli_stmt $statement): string {}
1639
1640/** @refcount 1 */
1641function mysqli_sqlstate(mysqli $mysql): string {}
1642
1643function mysqli_ssl_set(
1644    mysqli $mysql,
1645    ?string $key,
1646    ?string $certificate,
1647    ?string $ca_certificate,
1648    ?string $ca_path,
1649    ?string $cipher_algos
1650): true {}
1651
1652/** @refcount 1 */
1653function mysqli_stat(mysqli $mysql): string|false {}
1654
1655/** @refcount 1 */
1656function mysqli_store_result(mysqli $mysql, int $mode = 0): mysqli_result|false {}
1657
1658function mysqli_thread_id(mysqli $mysql): int {}
1659
1660function mysqli_thread_safe(): bool {}
1661
1662/** @refcount 1 */
1663function mysqli_use_result(mysqli $mysql): mysqli_result|false {}
1664
1665function mysqli_warning_count(mysqli $mysql): int {}
1666
1667function mysqli_refresh(mysqli $mysql, int $flags): bool {}
1668