(PHP 5)
mysqli->client_info -- mysqli_get_client_info — Returns the MySQL client version as a 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());
?>