The mysqli_get_client_info() function returns the MySQL client library version as a text string.
This is useful for checking compatibility between your PHP code and the database.
Practical use: Instead of guessing about system settings, use this function to quickly check the version of the installed MySQL driver on the server. Take a look at the simple output below: