mysqli::$client_info
mysqli::get_client_info
mysqli_get_client_info
(PHP 5, PHP 7, PHP 8)
mysqli::$client_info -- mysqli::get_client_info -- mysqli_get_client_info — Get MySQL client info
Beschreibung
Objektorientierter Stil
Prozeduraler Stil
Returns a string that represents the MySQL client library version.
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
A string that represents the MySQL client library version.
Changelog
Version | Beschreibung |
---|---|
8.1.0 |
Calling mysqli_get_client_info() with the
mysql argument has been deprecated.
This function never required a parameter, but incorrectly allowed it as
an optional parameter.
|
8.1.0 | The object-oriented style mysqli::get_client_info() has been deprecated. |
Beispiele
Beispiel #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());
?>
Siehe auch
- mysqli_get_client_version() - Returns the MySQL client version as an integer
- mysqli_get_server_info() - Returns the version of the MySQL server
- mysqli_get_server_version() - Returns the version of the MySQL server as an integer