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 grapheme 函数 returns part of haystack string from the first occurrence of needle to the end of haystackphp 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 lengths of the columns of the current row in the result setphp maxdb 函数 returns the current row of a result set as an objectphp 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 serverphp maxdb 函数 returns the version of the maxdb server as an integerphp maxdb 函数 initializes maxdb and returns an resource for use with maxdb real connectphp maxdb 函数 returns the auto generated id used in the last queryphp 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 total number of rows changed deleted or inserted by the last executed statementphp maxdb 函数 returns a string description for last statement errorphp maxdb 函数 returns result set metadata from a prepared statementphp postgresql 函数 returns an array with client protocol and server version when available php sqlsrv 函数 returns information about the client and specified connectionphp stomp 函数 returns a string description of the last connect error
关注编程学问公众号