|
mysqli::$protocol_versionmysqli_get_proto_infoReturns the version of the MySQL protocol used DescriptionObject oriented style string$mysqli->protocol_version;
Procedural style
int mysqli_get_proto_info
( mysqli
$link
)
Returns an integer representing the MySQL protocol version used by the
connection represented by the Parameters
Return ValuesReturns an integer representing the protocol version. ExamplesExample #1 $mysqli->protocol_version example Object oriented style
<?php Procedural style
<?php The above examples will output: Protocol version: 10 See Also
|