(PHP 5, PHP 7)
Represents a connection between PHP and a MySQL database.
$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"))$host
= ini_get("mysqli.default_host"),$username
= ini_get("mysqli.default_user"),$passwd
= ini_get("mysqli.default_pw"),$dbname
= "",$port
= ini_get("mysqli.default_port"),$socket
= ini_get("mysqli.default_socket")&$read
,&$error
,&$reject
,$seconds
,$microseconds
= 0$host
= ?,$username
= ?,$passwd
= ?,$dbname
= ?,$port
= ?,$socket
= ?,$flags
= ?$key
,$certificate
,$ca_certificate
,$ca_path
,$cipher_algos