⇧
vadnica-logo
My Services About the Project Telegram O meni O meni

mysqli_get_client_version()

The mysqli_get_client_version() function returns the MySQL client version as an integer. The format is major_version * 10000 + minor_version * 100 + sub_version. This means that version 8.2.12 would be returned as the number 80212.

EXAMPLE
RESULT
The result will be displayed here...

Practical use: This format is ideal for automated condition checking in your code. Look below to see the output on the current server: