MySQL and PHP

3.9.18 mysqli::$client_info, mysqli::get_client_info, mysqli_get_client_info

Copyright 1997-2019 the PHP Documentation Group.

Description

Object oriented style

string mysqli->client_info ;
string mysqli::get_client_info();

Procedural style

string mysqli_get_client_info(mysqli link);

Returns a string that represents the MySQL client library version.

Return Values

A string that represents the MySQL client library version

Examples

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

    


See Also

mysqli_get_client_version
mysqli_get_server_info
mysqli_get_server_version