Representa uma conexão entre o PHP e um banco de dados MySQL.
$host
= ini_get("mysqli.default_host")
, string $username
= ini_get("mysqli.default_user")
, string $passwd
= ini_get("mysqli.default_pw")
, string $dbname
= ""
, int $port
= ini_get("mysqli.default_port")
, string $socket
= ini_get("mysqli.default_socket")
) : void&$read
, array|null &$error
, array &$reject
, int $seconds
, int $microseconds
= 0
) : int|false$query
, int $result_mode
= MYSQLI_STORE_RESULT
) : mysqli_result|bool$host
= ?
, string $username
= ?
, string $passwd
= ?
, string $dbname
= ?
, int $port
= ?
, string $socket
= ?
, int $flags
= ?
) : bool$key
, string|null $certificate
, string|null $ca_certificate
, string|null $ca_path
, string|null $cipher_algos
) : bool