mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 13:57:03 +08:00
83 lines
3.3 KiB
HTML
83 lines
3.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Returns the Oracle client library version</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.oci-client-version" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">oci_client_version</h1>
|
|
<p class="verinfo">(PHP 5 >= 5.3.7, PHP 7, PECL OCI8 >= 1.4.6)</p><p class="refpurpose"><span class="refname">oci_client_version</span> — <span class="dc-title">Returns the Oracle client library version</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.oci-client-version-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>oci_client_version</strong></span>
|
|
( <span class="methodparam">void</span>
|
|
) : <span class="type">string</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Returns a string containing the version number of the Oracle C client library that PHP is linked with.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.oci-client-version-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">
|
|
None
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.oci-client-version-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns the version number as a string.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 examples" id="refsect1-function.oci-client-version-examples">
|
|
<h3 class="title">范例</h3>
|
|
<p class="para">
|
|
<div class="example" id="example-2393">
|
|
<p><strong>Example #1 <span class="function"><strong>oci_client_version()</strong></span> example</strong></p>
|
|
<div class="example-contents">
|
|
<div class="phpcode"><pre><span style="color: #000000">
|
|
<span style="color: #0000BB"><?php<br /> </span><span style="color: #007700">echo </span><span style="color: #DD0000">"Client Version: " </span><span style="color: #007700">. </span><span style="color: #0000BB">oci_client_version</span><span style="color: #007700">(); </span><span style="color: #FF8000">// Client version: 11.2.0.2<br /></span><span style="color: #0000BB">?></span>
|
|
</span>
|
|
</pre></div>
|
|
</div>
|
|
|
|
</div>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 notes" id="refsect1-function.oci-client-version-notes">
|
|
<h3 class="title">注释</h3>
|
|
<blockquote class="note"><p><strong class="note">Note</strong>:
|
|
<p class="para">
|
|
Oracle libraries before 10<em class="emphasis">g</em>R2 do not have the underlying
|
|
functionality to get the client library version number. The
|
|
string "Unknown" will be returned in this case.
|
|
</p>
|
|
</p></blockquote>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 seealso" id="refsect1-function.oci-client-version-seealso">
|
|
<h3 class="title">参见</h3>
|
|
<p class="para">
|
|
<ul class="simplelist">
|
|
<li class="member"><span class="function"><a href="oci_server_version.html" class="function" rel="rdfs-seeAlso">oci_server_version()</a> - 返回服务器版本信息</span></li>
|
|
</ul>
|
|
</p>
|
|
</div>
|
|
|
|
|
|
</div></div></div></body></html> |