oci_close

(PHP 5)

oci_close -- Closes Oracle connection

Description

bool oci_close ( resource connection )

oci_close() closes the Oracle connection connection.

Note: Starting from the version 1.1 oci_close() correctly closes the Oracle connection. Use oci8.old_oci_close_semantics option to restore old behaviour of this function.

Returns TRUE on success or FALSE on failure.

Note: In PHP versions before 5.0.0 you must use ocilogoff() instead. This name still can be used, it was left as alias of oci_close() for downwards compatability. This, however, is deprecated and not recommended.