(PHP 5, PHP 7)
mysqli::$client_info -- mysqli::get_client_info -- mysqli_get_client_info — Get MySQL client info
Object oriented style
public mysqli::get_client_info ( ) : string
Procedural style
mysqli_get_client_info ([ mysqli $link = NULL ] ) : string
Returns a string that represents the MySQL client library version.
A string that represents the MySQL client library version
Example #1 mysqli_get_client_info
<?php /* We don't need a connection to determine the version of mysql client library */ printf("Client library version: %s\n", mysqli_get_client_info()); ?>
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli.get-client-info.php