Note: This manual is provided for your convenience only - this is not the official source and may not be 100% up to date.



(PHP 5)

mysqli_get_client_info -- Returns the MySQL client version as a string


string mysqli_get_client_info ( void )

The mysqli_get_client_info() function is used to return a string representing the client version being used in the MySQLi extension.

Return Values

A string that represents the MySQL client library version


Example 1. mysqli_get_client_info


/* We don't need a connection to determine
   the version of mysql client library */

printf("Client library version: %s\n", mysqli_get_client_info());