Returns the Oracle client library version

oci_client_version

(PHP 5 >= 5.3.7, PHP 7, PHP 8, PECL OCI8 >= 1.4.6)

oci_client_versionReturns the Oracle client library version

說明

oci_client_version(): string

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.

範例

示例 #1 oci_client_version() example

<?php
    
echo "Client Version: " oci_client_version(); // Client version: 19.9.0.0.0
?>

註釋

注意:

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.

參見

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *