PHP 7.0.6 Released

ibase_server_info

(PHP 5, PHP 7)

ibase_server_infoRequest information about a database server

Description

string ibase_server_info ( resource $service_handle , int $action )
Warning

This function is currently not documented; only its argument list is available.

User Contributed Notes

kgbfernando
7 years ago
A Little Example

<?php
   
// get server version and implementation strings
   
if (($service = ibase_service_attach('localhost', 'sysdba', 'masterkey')) != FALSE) {
       
$server_info  = ibase_server_info($service, IBASE_SVC_SERVER_VERSION)
                      .
' / '
                     
. ibase_server_info($service, IBASE_SVC_IMPLEMENTATION);
       
ibase_service_detach($service);
    }
    else {
       
$ib_error = ibase_errmsg();
    }
echo
$server_info;  
?>
To Top