PHP mysqli_get_proto_info() function returns the version of the MySQL protocol used.
Syntax
Parameter | Description |
---|---|
Connection : | Required parameter. The MySQL connection to be used. |
Return Values : | Returns an integer representing the protocol version. |