Forum und email


(PECL maxdb:1.0-

maxdb_get_client_info — Returns the MaxDB client version as a string


string maxdb_get_client_info ( void )

The maxdb_get_client_info() function is used to return a string representing the client version being used in the MaxDB extension.

Return values

A string that represents the MaxDB client library version


Example#1 maxdb_get_client_info


/* We don't need a connection to determine
   the version of MaxDB client library */

printf("Client library version: %s\n"maxdb_get_client_info());

The above examples would produce the following output:

Client library version: libSQLDBC <...>