maxdb_get_client_info

(PECL maxdb >= 1.0)

maxdb_get_client_infoReturns 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 <...>

参见

相关文章
php ibm db2 函数 returns a string containing the sqlstate returned by the last connection attemptphp grapheme 函数 returns part of haystack string from the first occurrence of needle to the end of haystackphp maxdb 函数 returns the error code from last connect callphp maxdb 函数 returns a string description of the last connect errorphp maxdb 函数 returns a string description of the last errorphp maxdb 函数 returns the next field in the result setphp maxdb 函数 returns an array of resources representing the fields in a result setphp maxdb 函数 returns the maxdb client version as a stringphp maxdb 函数 returns a string representing the type of connection usedphp maxdb 函数 returns the version of the maxdb protocol usedphp maxdb 函数 returns the version of the maxdb serverphp maxdb 函数 returns the version of the maxdb server as an integerphp maxdb 函数 escapes special characters in a string for use in an sql statement taking into account the current charset of the connectionphp maxdb 函数 returns the sqlstate error from previous maxdb operationphp maxdb 函数 returns the total number of rows changed deleted or inserted by the last executed statementphp maxdb 函数 returns a string description for last statement errorphp maxdb 函数 returns the number of parameter for the given statementphp maxdb 函数 returns result set metadata from a prepared statementphp sqlsrv 函数 returns information about the client and specified connectionphp sdo das xml 函数 returns root element s uri string
关注编程学问公众号