maxdb_get_client_info
(PECL maxdb >= 1.0)
maxdb_get_client_info — Returns the MaxDB client version as a string
说明
maxdb_get_client_info (
void ) :
string
The maxdb_get_client_info() function is used to return a string representing the client version being used in the MaxDB extension.
返回值
A string that represents the MaxDB client library version
范例
Example #1 maxdb_get_client_info
<?php
/* We don't need a connection to determine
the version of MaxDB client library */
printf("Client library version: %s\n", maxdb_get_client_info());
?>
以上例程的输出类似于:
Client library version: libSQLDBC <...>
参见
- maxdb_get_client_version() - Get MaxDB client info
- maxdb_get_server_info() - Returns the version of the MaxDB server
- maxdb_get_server_version() - Returns the version of the MaxDB server as an integer