mysql_get_proto_info

(PHP 4 >= 4.0.5)

mysql_get_proto_info -- Get MySQL protocol info

Description

int mysql_get_proto_info ( [resource link_identifier])

mysql_get_proto_info() returns the protocol version used by connection link_identifier. If link_identifier is omited, the last opened connection will be used.

mysql_get_proto_info() was added in PHP 4.0.5.