array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.oci-server-version.php', 1 => 'oci_server_version', 2 => 'Returns the Oracle Database version', ), 'up' => array ( 0 => 'ref.oci8.php', 1 => 'OCI8 İşlevleri', ), 'prev' => array ( 0 => 'function.oci-rollback.php', 1 => 'oci_rollback', ), 'next' => array ( 0 => 'function.oci-set-action.php', 1 => 'oci_set_action', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/oci8/functions/oci-server-version.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

oci_server_version

(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)

oci_server_versionReturns the Oracle Database version

Açıklama

oci_server_version(resource $connection): string|false

Returns a string with the Oracle Database version and available options

Bağımsız Değişkenler

connection

Dönen Değerler

Returns the version information as a string or false on error.

Örnekler

Örnek 1 oci_server_version() example

<?php

$conn
= oci_connect("hr", "hrpwd", "localhost/XE");
echo
"Server Version: " . oci_server_version($conn);

// Displays:
// Server Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
// With the Partitioning, OLAP, Data Mining and Real Application Testing option

oci_close($conn);

?>

Ayrıca Bakınız