|
PHP5中文手册
mysqli_get_proto_infomysqli->protocol_version(No version information available, might be only in CVS) mysqli->protocol_version — Returns the version of the MySQL protocol used 说明Procedural style:
int mysqli_get_proto_info
( mysqli $link
)
Object oriented style (property): mysqli
string$protocol_version;
Returns an integer representing the MySQL protocol version used by the connection represented by the link parameter. 返回值Returns an integer representing the protocol version. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|