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

mysqli_get_proto_info()

The mysqli_get_proto_info() function returns an integer representing the MySQL protocol version used for the currently active connection.

EXAMPLE
RESULT
The result will be displayed here...

Practical use: Although this version rarely changes (most modern systems use protocol version 10), this information is important for more advanced connection diagnostics. Look at the output below: