(PECL CUBRID >= 8.3.0)
cubrid_get_server_info — Returns a string that represents the CUBRID server version
This function returns a string that represents the CUBRID server version.
The CUBRID connection.
A string that represents the CUBRID server version; on success.
FALSE on failure.
Пример #1 cubrid_get_server_info() example
<?php
$link = cubrid_connect("localhost", 30000, "demodb2", "dba", "");
if (!$link)
{
die('Could not connect.');
}
printf("CUBRID server info: %s\n", cubrid_get_server_info($link));
?>
Результат выполнения данного примера:
Result: CUBRID server info: 8.2.1.0209