Easy Tutorial
❮ Func Date Date Create Filter Validate Url ❯

PHP mysqli_get_client_version() Function

PHP MySQLi Reference Manual

Example

Returns the MySQL client library version as an integer:


Definition and Usage

The mysqli_get_client_version() function returns the MySQL client library version as an integer.

The MySQL client library version is returned in the following format: major version10000 + minor version100 + sub-version. For example: 5.1.0 will return 50100.


Syntax

Parameter Description
connection Optional. Specifies the MySQL connection to use.

Technical Details

Return Value: Returns an integer representing the MySQL client library version.
PHP Version: 5+
--- ---
❮ Func Date Date Create Filter Validate Url ❯