php man page for cubrid_version

Query: cubrid_version

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CUBRID_VERSION(3)							 1							 CUBRID_VERSION(3)

cubrid_version - Get the CUBRID PHP module's version

SYNOPSIS
string cubrid_version (void )
DESCRIPTION
The cubrid_version(3) function is used to get the CUBRID PHP module's version.
PARAMETERS
This function has no parameters.
RETURN VALUES
Version information (eg. "8.3.1.0001").
EXAMPLES
Example #1 cubrid_version(3) example <?php printf("%-30s %s ", "CUBRID PHP Version:", cubrid_version()); printf(" "); $conn = cubrid_connect("localhost", 33088, "demodb", "dba"); if (!$conn) { die('Connect Error ('. cubrid_error_code() .')' . cubrid_error_msg()); } $db_params = cubrid_get_db_parameter($conn); while (list($param_name, $param_value) = each($db_params)) { printf("%-30s %s ", $param_name, $param_value); } printf(" "); $server_info = cubrid_get_server_info($conn); $client_info = cubrid_get_client_info(); printf("%-30s %s ", "Server Info:", $server_info); printf("%-30s %s ", "Client Info:", $client_info); printf(" "); $charset = cubrid_get_charset($conn); printf("%-30s %s ", "CUBRID Charset:", $charset); cubrid_disconnect($conn); ?> The above example will output: CUBRID PHP Version: 9.1.0.0001 PARAM_ISOLATION_LEVEL 3 LOCK_TIMEOUT -1 MAX_STRING_LENGTH 1073741823 PARAM_AUTO_COMMIT 1 Server Info: 9.1.0.0212 Client Info: 9.1.0 CUBRID Charset: iso8859-1
SEE ALSO
cubrid_error_code(3), cubrid_error_code_facility(3). PHP Documentation Group CUBRID_VERSION(3)
Related Man Pages
cubrid_pconnect(3) - php
cubrid_column_types(3) - php
cubrid_error_code(3) - php
cubrid_error_code_facility(3) - php
cubrid_error_msg(3) - php
Similar Topics in the Unix Linux Community
Awk variable replacement
Explanation for printf string in awk
printf formatting
capture the output of printf into another variable
How to use sed to replace space partial