Ask a Question related to PHP Bugs, Design and Development.
-
j dot henge-ernst at interexa dot de #1
#40783 [NEW]: odbc_close always returns null
From: j dot henge-ernst at interexa dot de
Operating system: linux
PHP version: 5.2.1
PHP Bug Type: ODBC related
Bug description: odbc_close always returns null
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 bug report at [url]http://bugs.php.net/?id=40783&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40783&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40783&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40783&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40783&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40783&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40783&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40783&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40783&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40783&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40783&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40783&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40783&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40783&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40783&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40783&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40783&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40783&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40783&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40783&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40783&r=mysqlcfg[/url]
j dot henge-ernst at interexa dot de Guest
-
#40783 [Opn->Bgs]: odbc_close always returns null
ID: 40783 User updated by: j dot henge-ernst at interexa dot de Reported By: j dot henge-ernst at interexa dot de -Status: ... -
#26132 [Bgs]: pg_fetch_object returns NULL on serial and INT in record but returns strings NP
ID: 26132 User updated by: steven at pearavenue dot com Reported By: steven at pearavenue dot com Status: Bogus Bug... -
#26132 [Opn->Bgs]: pg_fetch_object returns NULL on serial and INT in record but returns strings NP
ID: 26132 Updated by: iliaa@php.net Reported By: steven at pearavenue dot com -Status: Open +Status: ... -
#26132 [Opn]: pg_fetch_object returns NULL on serial and INT in record but returns strings NP
ID: 26132 User updated by: steven at pearavenue dot com Reported By: steven at pearavenue dot com Status: Open Bug... -
#26132 [NEW]: pg_fetch_object returns NULL on serial and INT in record but returns strings NP
From: steven at pearavenue dot com Operating system: Redhat 9.0/Apache 2.0 PHP version: 4.3.4 PHP Bug Type: PostgreSQL...



Reply With Quote

