mysqli::init

(PHP 5, PHP 7) Initializes MySQLi and returns a resource for use with mysqli_real_connect() mysqli mysqli::init ( void ) Object oriented style Procedural style mysqli mysqli_init ( void ) Allocates or initializes a MYSQL object suitable for mysqli_options() and mysqli_real_connect(). Note: Any subsequent calls to any mysqli function (except mysqli_options()) will fail until mysqli_real_connect() was called.

mysqli::$info

(PHP 5, PHP 7) Retrieves information about the most recently executed query string mysqli_info ( mysqli $link ) Object oriented style string $mysqli->info; Procedural style The mysqli_info() function returns a string providing information about the last query executed. The nature of this string is provided below: Possible mysqli_info return values Query type Example result string INSERT INTO...SELECT... Records: 100 Dup

mysqli::get_warnings

(PHP 5 >= 5.1.0, PHP 7) Get result of SHOW WARNINGS mysqli_warning mysqli::get_warnings ( void ) Object oriented style Procedural style mysqli_warning mysqli_get_warnings ( mysqli $link ) This function is currently not documented; only its argument list is available.

mysqli::$server_version

(PHP 5, PHP 7) Returns the version of the MySQL server as an integer int mysqli_get_server_version ( mysqli $link ) Object oriented style int $mysqli->server_version; Procedural style The mysqli_get_server_version() function returns the version of the server connected to (represented by the link parameter) as an integer. Parameters: link Procedural style only: A link i

mysqli::$server_info

(PHP 5, PHP 7) Returns the version of the MySQL server string mysqli_get_server_info ( mysqli $link ) Object oriented style string $mysqli->server_info; Procedural style Returns a string representing the version of the MySQL server that the MySQLi extension is connected to. Parameters: link Procedural style only: A link identifier returned by mysqli_connect() or mysqli

mysqli::$protocol_version

(PHP 5, PHP 7) Returns the version of the MySQL protocol used int mysqli_get_proto_info ( mysqli $link ) Object oriented style string $mysqli->protocol_version; Procedural style Returns an integer representing the MySQL protocol version used by the connection represented by the link parameter. Parameters: link Procedural style only: A link identifier returned by mysqli

mysqli::$host_info

(PHP 5, PHP 7) Returns a string representing the type of connection used string mysqli_get_host_info ( mysqli $link ) Object oriented style string $mysqli->host_info; Procedural style Returns a string describing the connection represented by the link parameter (including the server host name). Parameters: link Procedural style only: A link identifier returned by mysqli

mysqli::get_connection_stats

(PHP 5 >= 5.3.0, PHP 7) Returns statistics about the client connection bool mysqli::get_connection_stats ( void ) Object oriented style Procedural style array mysqli_get_connection_stats ( mysqli $link ) Returns statistics about the client connection. Available only with mysqlnd. Parameters: link Procedural style only: A link identifier returned by mysqli_connect() or

mysqli_get_client_version

(PHP 5, PHP 7) Returns the MySQL client version as an integer int mysqli_get_client_version ( mysqli $link ) Object oriented style int $mysqli->client_version; Procedural style Returns client version number as an integer. Returns: A number that represents the MySQL client library version in format: main_version*10000 + minor_version *100 + sub_version. For example, 4.1.0 is returned as 40100.

mysqli_get_client_stats

(PHP 5 >= 5.3.0, PHP 7) Returns client per-process statistics array mysqli_get_client_stats ( void ) Returns client per-process statistics. Available only with mysqlnd. Returns: Returns an array with client stats if success, FALSE otherwise. Examples: A mysqli_get_client_stats() example <?php $link = mysqli_connect(