ID: 41025
Updated by: [EMAIL PROTECTED]
Reported By: aesthete at telecenter dot ru
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: Win XP sp2
PHP Version: 5CVS-2007-04-08 (snap)
New Comment:
Please check if PHP 5.2.1 works for you.
There were several changes to sprintf() utilities and they might have
affected it.
Previous Comments:
------------------------------------------------------------------------
[2007-04-08 23:00:09] aesthete at telecenter dot ru
Description:
------------
I have some code:
...
$sth = ibase_query('SELECT GEN_ID(GEN_DOSTAVKA_ID,1) FROM
RDB$DATABASE');
$row = ibase_fetch_assoc($sth); // return only one row
$current_dostavka_id = $row['GEN_ID'];
echo $current_dostavka_id;
...
On my WinXP sp2 machine with snaped php5.2-win32-200704082030 the
ptinted value $current_dostavka_id is wrong and always the same:
%I64d
The right result must be: 7120, 7121, ... for each script execution.
On linux snap php5.2-200704082030.tar.bz2 everything ok.
On php-5.2.1-Win32 everything ok.
And what about bug which I found: http://bugs.php.net/bug.php?id=34158
... Will it be corrected?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41025&edit=1