略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: oci_client_version

2025-02-26

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.

参见

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.oci-client-version.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3