|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6796 Interbase crash
Submitted: 2000-09-17 20:34 UTC Modified: 2000-11-11 16:08 UTC
From: juha at linearteam dot org Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.0.2 OS: NT2000 Professional
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: juha at linearteam dot org
New email:
PHP Version: OS:


 [2000-09-17 20:34 UTC] juha at linearteam dot org
PHP.EXE was used as standalone, with php_interbase.dll configured as module.

Trying to connect/query to InterBase database with:
   $dbh = ibase_connect(xxx, xxx, xxx);
   $stmt = 'SELECT * FROM customer';
   $sth = ibase_query ($dbh, $stmt);
   while ($row = ibase_fetch_object ($sth)) 
     print $row->co_name;
  ibase_close ($dbh);

If ibase_connect fails, and ibase_query gets executed, PHP.EXE will crash. Following was captured as output from PHP.EXE before crash:
Warning:  0 is not a valid InterBase link resource in xxx.php on line 17

Where line 17 is ibase_query.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-27 23:27 UTC]
This is, I hope, fixed (can't test it because I don't have any Windows machine).You should fetch php4.0.4-dev for win32 from

Or if you would rather stay with a release version, php4.0.3 for win32 from
the same place and contact me ( directly for an updated version
of php_interbase.dll (thanks to Daniel Beulshausen for compiling it), there was
still one critical InterBase-related bug in 4.0.3.

 [2000-11-11 16:08 UTC]
no feedback, and other users reported that this problem is solved.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 03:01:26 2023 UTC