ID:               40783
 User updated by:  j dot henge-ernst at interexa dot de
 Reported By:      j dot henge-ernst at interexa dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         ODBC related
 Operating System: linux
 PHP Version:      5.2.1
 New Comment:

seems the documentation has changed, odbc_close allways returns null in
newer version


Previous Comments:
------------------------------------------------------------------------

[2007-03-12 12:23:09] j dot henge-ernst at interexa dot de

Description:
------------
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);
var_dump($ret);


Expected result:
----------------
bool(true)

Actual result:
--------------
NULL


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40783&edit=1

Reply via email to