ID: 39397 Updated by: [EMAIL PROTECTED] Reported By: sailormax at inbox dot lv -Status: Open +Status: Closed Bug Type: InterBase related Operating System: Win32 / Linux PHP Version: 5.2.0 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Fixed in HEAD and PHP_5_3 Previous Comments: ------------------------------------------------------------------------ [2006-11-06 10:50:46] sailormax at inbox dot lv Description: ------------ PHP output warning: Warning: Unknown: invalid statement handle in Unknown on line 0 if don't use "connection_id" as parameter for function ibase_close() Firebird 2.0 Release Candidate Reproduce code: --------------- <? ibase_connect("localhost:D:\\test.gdb", "SYSDBA", "masterkey"); $prep = ibase_prepare("SELECT * FROM TB_TEST"); $res = ibase_execute($prep); while ($row = ibase_fetch_row($res)) { print_r($row); print "<br />"; } ibase_close(); ?> Expected result: ---------------- output list of data in table Actual result: -------------- output list of data in table and Warning: Unknown: invalid statement handle in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39397&edit=1