reference/oci8/functions/oci-close.xml
5e41012cfdf8f2eff5fa56de446c7656afac536c
...
...
@@ -9,7 +9,7 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>bool</type><methodname>oci_close</methodname>
12
+
<type class="union"><type>bool</type><type>null</type></type><methodname>oci_close</methodname>
13
13
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
...
...
@@ -45,7 +45,8 @@
45
45
<refsect1 role="returnvalues">
46
46
&reftitle.returnvalues;
47
47
<para>
48
-
&return.success;
48
+
Returns &null; when <link linkend="ini.oci8.old-oci-close-semantics">oci8.old_oci_close_semantics</link> is enabled,
49
+
or &true; otherwise.
49
50
</para>
50
51
</refsect1>
51
52

...
...
@@ -200,15 +201,6 @@ print $r; // displays the function return value "Finished"
200
201
</note>
201
202
<note>
202
203
<para>
203
-
Prior to version PHP 5.1.2 (PECL OCI8
204
-
1.1) <function>oci_close</function> was a no-op. In more recent
205
-
versions it correctly closes the Oracle
206
-
connection. Use <link linkend="ini.oci8.old-oci-close-semantics">oci8.old_oci_close_semantics</link>
207
-
option to restore old behavior of this function.
208
-
</para>
209
-
</note>
210
-
<note>
211
-
<para>
212
204
The <function>oci_close</function> function does not close the
213
205
underlying database connections created
214
206
with <function>oci_pconnect</function>.
...
...
@@ -227,7 +219,6 @@ print $r; // displays the function return value "Finished"
227
219
</refsect1>
228
220

229
221
</refentry>
230
-

231
222
<!-- Keep this comment at the end of the file
232
223
Local variables:
233
224
mode: sgml
234
225