文字

mysqli::$client_info

mysqli_get_client_info

(PHP 5)

mysqli::$client_info -- mysqli_get_client_infoGet MySQL client info

说明

面向对象风格

string $mysqli->client_info ;

过程化风格

string mysqli_get_client_info ( mysqli $link )

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



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

参见

  • mysqli_get_client_version() - Returns the MySQL client version as an integer
  • mysqli_get_server_info() - 返回MySQL服务器的版本号
  • mysqli_get_server_version() - 作为一个整数返回MySQL服务器的版本
上一篇: 下一篇: