PHP - Manual: oci_client_version
2024-11-14
(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.
示例 #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.
官方地址:https://www.php.net/manual/en/function.oci-client-version.php