ID: 14039 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: InterBase related Operating System: Windows NT 4 SP 4 PHP Version: 4.0.6 New Comment:
The version of PHP that this bug was reported in is too old. Please try the php-4.2.0RC3 from http://www.php.net/~derick/ If you are still able to reproduce the bug, please change the PHP version on this bug report to the version you tested and change the status back to "Open". This bug should be fixed now. You were right, the problem was in ibase_close(). However have a look at: http://www.php.net/manual/en/function.ibase-close.php Daniela Previous Comments: ------------------------------------------------------------------------ [2001-11-13 04:41:52] [EMAIL PROTECTED] When exiting a function after having closed a link to Interbase, the warning "Invalid statement handle" is displayed. apparently, PHP tries to close the connection by itself even if it has already been closed, which raises this warning from interbase. Example : <?php function foo() { $link = ibase_connect("//ibase/mybase", "login", "password"); .... // some code here ibase_close ($link); return -1; // generates the warning } $x = foo(); // warning displayed > ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=14039&edit=1