PHP mysqli_get_proto_info() Function
Example
Return the MySQL protocol version:
Definition and Usage
The mysqli_get_proto_info() function returns the MySQL protocol version.
Syntax
mysqli_get_proto_info(
connection
)
;
| Parameters | Description |
|---|---|
| connection | Required. Specifies the MySQL connection to use. |
Technical Details
| Return Value: | Returns an integer representing the MySQL protocol version. |
|---|---|
| PHP Version: | 5+ |
PHP MySQLi Reference Manual