PHP mysqli_get_client_info() Function

The mysqli_get_client_info() function returns the MySQL client library version.

Object oriented style

string $mysqli->client_info;
string mysqli::get_client_info ( void )

Procedural style

string mysqli_get_client_info ( mysqli $link )

Returns a string that represents the MySQL client library version.

Examples -

Example #1 mysqli_get_client_info

ParameterDescription
connectionOptional. Specifies the MySQL connection to use

A string that represents the MySQL client library version