mysqli_get_client_info

(PHP 5)

mysqli_get_client_info -- Returns the MySQL client version as a string

Description

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

Смотрите также

mysqli_get_client_version(), mysqli_get_server_info() и mysqli_get_server_version().

Примеры

Пример 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());
?>