|
PHP5中文手册
maxdb_get_host_infomaxdb->get_host_info(PECL maxdb:1.0-7.6.00.38) maxdb->get_host_info — Returns a string representing the type of connection used 说明Procdural style:
string maxdb_get_host_info
( resource $link
)
Object oriented style (property): maxdb
string$host_info;
The maxdb_get_host_info() function returns a string describing the connection represented by the link parameter is using. 返回值A character string representing the server hostname and the connection type. 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|