oci_client_version Returns the Oracle client library version php函数


oci_client_version

(PHP 5.3.7, PECL OCI8 >= 1.4.6)

oci_client_versionReturns the Oracle client library version

说明

string oci_client_version ( void )

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.

范例

Example #1 oci_client_version() example

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

注释

Note:

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.

参见



相关阅读:
oci_close 关闭 Oracle 连接
oci_commit 提交未执行的事务处理
oci_connect 建立一个到 Oracle 服务器的连接
oci_define_by_name 在 SELECT 中使用 PHP 变量作为定义的步骤
oci_error 返回上一个错误
oci_execute 执行一条语句
oci_fetch Fetches the next row into result-buffer
oci_fetch_all 获取结果数据的所有行到一个数组
oci_fetch_array Returns the next row from a query as an associative or numeric array
oci_fetch_assoc Returns the next row from a query as an associative array
oci_fetch_object Returns the next row from a query as an object
oci_fetch_row Returns the next row from a query as a numeric array
oci_field_is_null 检查字段是否为 NULL
oci_field_name 返回字段名
快速导航

Copyright © 2016 phpStudy |