PHP 4.0 Bug #7489 Updated: Place holder bug
| From: | jah@php.net | Date: | Sat, 28 Oct 2000 02:30:28 +0000 |
| Subject: | PHP 4.0 Bug #7489 Updated: Place holder bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36156@lists.php.net to get a copy of this message | ||
ID: 7489
Updated by: jah
Reported By: artur@lunar.com.pl
Status: Closed
Bug Type: InterBase related
Assigned To:
Comments:
Fixed in current CVS. Fetch a new version of ext/interbase/interbase.c from
http://cvs.php.net/viewcvs.cgi/~checkout~/php4/ext/interbase/interbase.c?rev=1.45
and recompile.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-27 16:28:12] mathieu@php.net
Please update to CVS and see if problem persists.
---------------------------------------------------------------------------
[2000-10-27 05:10:30] artur@lunar.com.pl
I think there is a bug PHP 4.0.3 in interbase support.
The place holders '?' don't seem to work correcty.
The following example works with PHP 3.0.15
$set = ibase_query("SELECT FOTO FROM TEST WHERE ID = ?",$id);
The same example does not work with PHP 4.0.3 and PHP 4.0.3pl1
if I do the following it works OK
$set = ibase_query("SELECT FOTO FROM TEST WHERE ID = 1");
Please help.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7489