array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.oci-client-version.php', 1 => 'oci_client_version', ), 'up' => array ( 0 => 'ref.oci8.php', 1 => 'OCI8 Funktionen', ), 'prev' => array ( 0 => 'function.oci-cancel.php', 1 => 'oci_cancel', ), 'next' => array ( 0 => 'function.oci-close.php', 1 => 'oci_close', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/oci8/functions/oci-client-version.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.7, PHP 7, PHP 8, PECL OCI8 >= 1.4.6)
oci_client_version — Returns the Oracle client library version
Returns a string containing the version number of the Oracle C client library that PHP is linked with.
None
Returns the version number as a String.
Beispiel #1 oci_client_version() example
<?php
echo "Client Version: " . oci_client_version(); // Client version: 19.9.0.0.0
?>
Hinweis:
Oracle libraries before 10gR2 do not have the underlying functionality to get the client library version number. The string "Unknown" will be returned in this case.