|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40783 odbc_close always returns null
Submitted: 2007-03-12 12:23 UTC Modified: 2007-03-12 12:26 UTC
From: j dot henge-ernst at interexa dot de Assigned:
Status: Not a bug Package: ODBC related
PHP Version: 5.2.1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: j dot henge-ernst at interexa dot de
New email:
PHP Version: OS:


 [2007-03-12 12:23 UTC] j dot henge-ernst at interexa dot de
the odbc_close function always returns null instead of a boolean value as stated in the documentation for odbc_close. In the souce of php_odbc.c there is no RETURN_TRUE or RETURN_FALSE. So is either the docmentation outdated or is in the sourcecode something missing?

Reproduce code:
$con = odbc_connect("autot32", "db2inst1", "interexa");
$ret = odbc_close($con);

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-12 12:26 UTC] j dot henge-ernst at interexa dot de
seems the documentation has changed, odbc_close allways returns null in newer version
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 05:05:45 2022 UTC