MySQLi
PHP Manual

mysqli::get_client_info

mysqli_get_client_info

(PHP 5)

mysqli::get_client_info -- mysqli_get_client_infoReturns the MySQL client version as a string

설명

string mysqli::get_client_info ( void )
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.

반환값

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());
?>

참고


MySQLi
PHP Manual