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 case insensitive needle to the end of haystackphp grapheme 函数 returns part of haystack string from the first occurrence of needle to the end of haystackphp json 函数 returns the error string of the last json encode or json decode callphp 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 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 函数 returns the sqlstate error from previous maxdb operationphp maxdb 函数 returns a string description for last statement errorphp maxdb 函数 initializes a statement and returns an resource for use with maxdb stmt preparephp maxdb 函数 returns the number of parameter for the given statementphp 多字节字符串 函数 returns position and length of a matched part of the multibyte regular expression for a predefined multibyte stringphp sqlsrv 函数 returns information about the client and specified connectionphp sdo das xml 函数 returns root element s uri string
关注编程学问公众号