Easy Tutorial
❮ Func Mysqli Free Result Func Filter Id ❯

PHP mysqli_get_proto_info() Function

PHP MySQLi Reference Manual

Example

Returns the MySQL protocol version:


Definition and Usage

The mysqli_get_proto_info() function returns the MySQL protocol version.


Syntax

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

Technical Details

Return Value: Returns an integer representing the MySQL protocol version.
PHP Version: 5+
--- ---
❮ Func Mysqli Free Result Func Filter Id ❯