|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
| __construct (?string $hostname=null, ?string $username=null, #[\SensitiveParameter] ?string $password=null, ?string $database=null, ?int $port=null, ?string $socket=null) | |
| autocommit (bool $enable) | |
| begin_transaction (int $flags=0, ?string $name=null) | |
| change_user (string $username, #[\SensitiveParameter] string $password, ?string $database) | |
| character_set_name () | |
| close () | |
| commit (int $flags=0, ?string $name=null) | |
| connect (?string $hostname=null, ?string $username=null, #[\SensitiveParameter] ?string $password=null, ?string $database=null, ?int $port=null, ?string $socket=null) | |
| dump_debug_info () | |
| debug (string $options) | |
| get_charset () | |
| execute_query (string $query, ?array $params=null) | |
| get_client_info () | |
| get_connection_stats () | |
| get_server_info () | |
| get_warnings () | |
| init () | |
| kill (int $process_id) | |
| multi_query (string $query) | |
| more_results () | |
| next_result () | |
| ping () | |
| prepare (string $query) | |
| query (string $query, int $result_mode=MYSQLI_STORE_RESULT) | |
| real_connect (?string $hostname=null, ?string $username=null, #[\SensitiveParameter] ?string $password=null, ?string $database=null, ?int $port=null, ?string $socket=null, int $flags=0) | |
| real_escape_string (string $string) | |
| reap_async_query () | |
| escape_string (string $string) | |
| real_query (string $query) | |
| release_savepoint (string $name) | |
| rollback (int $flags=0, ?string $name=null) | |
| savepoint (string $name) | |
| select_db (string $database) | |
| set_charset (string $charset) | |
| options (int $option, $value) | |
| set_opt (int $option, $value) | |
| ssl_set (?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos) | |
| stat () | |
| stmt_init () | |
| store_result (int $mode=0) | |
| thread_safe () | |
| use_result () | |
| refresh (int $flags) | |
Static Public Member Functions | |
| static | poll (?array &$read, ?array &$error, array &$reject, int $seconds, int $microseconds=0) |
Data Fields | |
| int string | $affected_rows |
| string | $client_info |
| int | $client_version |
| int | $connect_errno |
| string | $connect_error |
| int | $errno |
| string | $error |
| array | $error_list |
| int | $field_count |
| string | $host_info |
| string | $info |
| int string | $insert_id |
| string | $server_info |
| int | $server_version |
| string | $sqlstate |
| int | $protocol_version |
| int | $thread_id |
| int | $warning_count |
Definition at line 612 of file mysqli.stub.php.
| mysqli::__construct | ( | ?string | $hostname = null, |
| ?string | $username = null, | ||
| # ?string | $password[\SensitiveParameter] = null, | ||
| ?string | $database = null, | ||
| ?int | $port = null, | ||
| ?string | $socket = null ) |
Definition at line 722 of file mysqli.stub.php.
| mysqli::autocommit | ( | bool | $enable | ) |
@tentative-return-type @alias mysqli_autocommit
Definition at line 735 of file mysqli.stub.php.
| mysqli::begin_transaction | ( | int | $flags = 0, |
| ?string | $name = null ) |
@tentative-return-type @alias mysqli_begin_transaction
Definition at line 741 of file mysqli.stub.php.
| mysqli::change_user | ( | string | $username, |
| # string | $password[\SensitiveParameter], | ||
| ?string | $database ) |
@tentative-return-type @alias mysqli_change_user
Definition at line 747 of file mysqli.stub.php.
| mysqli::character_set_name | ( | ) |
@tentative-return-type @alias mysqli_character_set_name
Definition at line 753 of file mysqli.stub.php.
| mysqli::close | ( | ) |
@tentative-return-type @alias mysqli_close
Definition at line 759 of file mysqli.stub.php.
| mysqli::commit | ( | int | $flags = 0, |
| ?string | $name = null ) |
@tentative-return-type @alias mysqli_commit
Definition at line 765 of file mysqli.stub.php.
| mysqli::connect | ( | ?string | $hostname = null, |
| ?string | $username = null, | ||
| # ?string | $password[\SensitiveParameter] = null, | ||
| ?string | $database = null, | ||
| ?int | $port = null, | ||
| ?string | $socket = null ) |
@tentative-return-type @alias mysqli_connect @no-verify
Definition at line 772 of file mysqli.stub.php.
| mysqli::debug | ( | string | $options | ) |
@tentative-return-type @alias mysqli_debug @no-verify Should really be a static method
Definition at line 792 of file mysqli.stub.php.
| mysqli::dump_debug_info | ( | ) |
@tentative-return-type @alias mysqli_dump_debug_info
Definition at line 785 of file mysqli.stub.php.
| mysqli::escape_string | ( | string | $string | ) |
@tentative-return-type @alias mysqli_real_escape_string
Definition at line 917 of file mysqli.stub.php.
| mysqli::execute_query | ( | string | $query, |
| ?array | $params = null ) |
@alias mysqli_execute_query
Definition at line 803 of file mysqli.stub.php.
| mysqli::get_charset | ( | ) |
@tentative-return-type @alias mysqli_get_charset
Definition at line 798 of file mysqli.stub.php.
| mysqli::get_client_info | ( | ) |
@tentative-return-type @alias mysqli_get_client_info
Definition at line 810 of file mysqli.stub.php.
| mysqli::get_connection_stats | ( | ) |
Definition at line 817 of file mysqli.stub.php.
| mysqli::get_server_info | ( | ) |
@tentative-return-type @alias mysqli_get_server_info
Definition at line 823 of file mysqli.stub.php.
| mysqli::get_warnings | ( | ) |
@tentative-return-type @alias mysqli_get_warnings
Definition at line 829 of file mysqli.stub.php.
| mysqli::init | ( | ) |
Definition at line 835 of file mysqli.stub.php.
| mysqli::kill | ( | int | $process_id | ) |
@tentative-return-type @alias mysqli_kill
Definition at line 842 of file mysqli.stub.php.
| mysqli::more_results | ( | ) |
@tentative-return-type @alias mysqli_more_results
Definition at line 854 of file mysqli.stub.php.
| mysqli::multi_query | ( | string | $query | ) |
@tentative-return-type @alias mysqli_multi_query
Definition at line 848 of file mysqli.stub.php.
| mysqli::next_result | ( | ) |
@tentative-return-type @alias mysqli_next_result
Definition at line 860 of file mysqli.stub.php.
| mysqli::options | ( | int | $option, |
| $value ) |
| string | int | $value | @tentative-return-type @alias mysqli_options |
Definition at line 960 of file mysqli.stub.php.
| mysqli::ping | ( | ) |
@tentative-return-type @alias mysqli_ping
Definition at line 867 of file mysqli.stub.php.
|
static |
@tentative-return-type @alias mysqli_poll
Definition at line 873 of file mysqli.stub.php.
| mysqli::prepare | ( | string | $query | ) |
@tentative-return-type @alias mysqli_prepare
Definition at line 879 of file mysqli.stub.php.
| mysqli::query | ( | string | $query, |
| int | $result_mode = MYSQLI_STORE_RESULT ) |
@tentative-return-type @alias mysqli_query
Definition at line 885 of file mysqli.stub.php.
| mysqli::real_connect | ( | ?string | $hostname = null, |
| ?string | $username = null, | ||
| # ?string | $password[\SensitiveParameter] = null, | ||
| ?string | $database = null, | ||
| ?int | $port = null, | ||
| ?string | $socket = null, | ||
| int | $flags = 0 ) |
@tentative-return-type @alias mysqli_real_connect
Definition at line 891 of file mysqli.stub.php.
| mysqli::real_escape_string | ( | string | $string | ) |
@tentative-return-type @alias mysqli_real_escape_string
Definition at line 905 of file mysqli.stub.php.
| mysqli::real_query | ( | string | $query | ) |
@tentative-return-type @alias mysqli_real_query
Definition at line 923 of file mysqli.stub.php.
| mysqli::reap_async_query | ( | ) |
@tentative-return-type @alias mysqli_reap_async_query
Definition at line 911 of file mysqli.stub.php.
| mysqli::refresh | ( | int | $flags | ) |
@tentative-return-type @alias mysqli_refresh
Definition at line 1016 of file mysqli.stub.php.
| mysqli::release_savepoint | ( | string | $name | ) |
@tentative-return-type @alias mysqli_release_savepoint
Definition at line 929 of file mysqli.stub.php.
| mysqli::rollback | ( | int | $flags = 0, |
| ?string | $name = null ) |
@tentative-return-type @alias mysqli_rollback
Definition at line 935 of file mysqli.stub.php.
| mysqli::savepoint | ( | string | $name | ) |
@tentative-return-type @alias mysqli_savepoint
Definition at line 941 of file mysqli.stub.php.
| mysqli::select_db | ( | string | $database | ) |
@tentative-return-type @alias mysqli_select_db
Definition at line 947 of file mysqli.stub.php.
| mysqli::set_charset | ( | string | $charset | ) |
@tentative-return-type @alias mysqli_set_charset
Definition at line 953 of file mysqli.stub.php.
| mysqli::set_opt | ( | int | $option, |
| $value ) |
| string | int | $value | @tentative-return-type @alias mysqli_options |
Definition at line 967 of file mysqli.stub.php.
| mysqli::ssl_set | ( | ?string | $key, |
| ?string | $certificate, | ||
| ?string | $ca_certificate, | ||
| ?string | $ca_path, | ||
| ?string | $cipher_algos ) |
@tentative-return-type @alias mysqli_ssl_set
Definition at line 973 of file mysqli.stub.php.
| mysqli::stat | ( | ) |
@tentative-return-type @alias mysqli_stat
Definition at line 985 of file mysqli.stub.php.
| mysqli::stmt_init | ( | ) |
@tentative-return-type @alias mysqli_stmt_init
Definition at line 991 of file mysqli.stub.php.
| mysqli::store_result | ( | int | $mode = 0 | ) |
@tentative-return-type @alias mysqli_store_result
Definition at line 997 of file mysqli.stub.php.
| mysqli::thread_safe | ( | ) |
@tentative-return-type @alias mysqli_thread_safe
Definition at line 1003 of file mysqli.stub.php.
| mysqli::use_result | ( | ) |
@tentative-return-type @alias mysqli_use_result
Definition at line 1009 of file mysqli.stub.php.
| int string mysqli::$affected_rows |
@readonly mysqli.affected-rows
Definition at line 618 of file mysqli.stub.php.
| string mysqli::$client_info |
@readonly mysqli.get-client-info
Definition at line 624 of file mysqli.stub.php.
| int mysqli::$client_version |
@readonly mysqli.get-client-version
Definition at line 630 of file mysqli.stub.php.
| int mysqli::$connect_errno |
@readonly mysqli.connect-errno
Definition at line 636 of file mysqli.stub.php.
| string mysqli::$connect_error |
@readonly mysqli.connect-error
Definition at line 642 of file mysqli.stub.php.
| int mysqli::$errno |
@readonly mysqli.errno
Definition at line 648 of file mysqli.stub.php.
| string mysqli::$error |
@readonly mysqli.error
Definition at line 654 of file mysqli.stub.php.
| array mysqli::$error_list |
@readonly mysqli.error-list
Definition at line 660 of file mysqli.stub.php.
| int mysqli::$field_count |
@readonly mysqli.field-count
Definition at line 666 of file mysqli.stub.php.
| string mysqli::$host_info |
@readonly mysqli.get-host-info
Definition at line 672 of file mysqli.stub.php.
| string mysqli::$info |
@readonly mysqli.info
Definition at line 678 of file mysqli.stub.php.
| int string mysqli::$insert_id |
@readonly mysqli.insert-id
Definition at line 684 of file mysqli.stub.php.
| int mysqli::$protocol_version |
@readonly mysqli.get-proto-info
Definition at line 708 of file mysqli.stub.php.
| string mysqli::$server_info |
@readonly mysqli.get-server-info
Definition at line 690 of file mysqli.stub.php.
| int mysqli::$server_version |
@readonly mysqli.get-server-version
Definition at line 696 of file mysqli.stub.php.
| string mysqli::$sqlstate |
@readonly mysqli.sqlstate
Definition at line 702 of file mysqli.stub.php.
| int mysqli::$thread_id |
@readonly mysqli.thread-id
Definition at line 714 of file mysqli.stub.php.
| int mysqli::$warning_count |
@readonly mysqli.warning-count
Definition at line 720 of file mysqli.stub.php.