CUBRID Функции
PHP Manual

cubrid_get_db_parameter

(PECL CUBRID >= 8.3.0)

cubrid_get_db_parameterReturns the CUBRID database parameters

Описание

array cubrid_get_db_parameter ( resource $conn_identifier )

This function returns the CUBRID database parameters or it returns FALSE on failure. It returns an associative array with the values for the following parameters:

Список параметров

conn_identifier

The CUBRID connection. If the connection identifier is not specified, the last link opened by cubrid_connect() is assumed.

Возвращаемые значения

An associative array with CUBRID database parameters; on success.

FALSE on failure.

Примеры

Пример #1 cubrid_get_db_parameter() example

<?php
    $link 
cubrid_connect("localhost"30000"demodb2""dba""");
    if (!
$link)
    {
        die(
'Could not connect.');
    }
    echo 
"CUBRID parameters:<br>";
    
print_r(cubrid_get_db_parameter($link));
?>

Результат выполнения данного примера:

Result:
CUBRID parameters:
Array ( [PARAM_ISOLATION_LEVEL] => 3 [LOCK_TIMEOUT] => -1 [MAX_STRING_LENGTH] => 1073741823 )

CUBRID Функции
PHP Manual