|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68534 Ambiguity about oci_close and persistent connection
Submitted: 2014-12-01 17:23 UTC Modified: 2017-01-28 12:48 UTC
From: Assigned: sixd (profile)
Status: Assigned Package: OCI8 related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
21 + 6 = ?
Subscribe to this entry?

 [2014-12-01 17:23 UTC]
The manual page for oci_close() ends with this note:
"Note: The oci_close() function does not close the underlying database connections created with oci_pconnect()."

However, the manual page for the oci8.persistent_timeout setting highlights this:
"Note: In PHP 5.3 (PECL OCI8 1.3), persistent connections can be closed with oci_close()."

Does this second note mean the first note is incorrect?

Or, does the wording of the second note mean that oci_close does close persistent connections, but **only** in 5.3?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-02 22:26 UTC]
-Assigned To: +Assigned To: sixd
 [2017-01-28 12:48 UTC]
-Package: Documentation problem +Package: OCI8 related
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Mon Dec 17 04:01:25 2018 UTC