php-doc-en/reference/oci8/functions/oci-close.xml
2004-04-01 08:11:29 +00:00

60 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<refentry id="function.oci-close">
<refnamediv>
<refname>oci_close</refname>
<refpurpose>Closes Oracle connection</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>oci_close</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
</methodsynopsis>
<para>
<function>oci_close</function> closes the Oracle connection
<parameter>connection</parameter>.
</para>
<note>
<para>
As non-persistent links are closed automatically at the end of script
execution, calling this function is not required. Because of this and
the method the extension uses to handle connection resources,
<function>oci_close</function> currently provides no actual
functionality.
</para>
</note>
<para>
&return.success;
</para>
<note>
<para>
In PHP versions before 5.0.0 you must use <function>ociclose</function> instead.
This name still can be used, it was left as alias of
<function>oci_close</function> for downwards compatability.
This, however, is deprecated and not recommended.
</para>
</note>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->