#20641 [Opn->Fbk]: Numeric type returns invalid result using ibase_fetch_row/ibase_fetch_object
| From: | daniela@php.net | Date: | Fri, 16 May 2003 07:28:08 +0000 |
| Subject: | #20641 [Opn->Fbk]: Numeric type returns invalid result using ibase_fetch_row/ibase_fetch_object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39765@lists.php.net to get a copy of this message | ||
ID: 20641
Updated by: daniela@php.net
Reported By: jear at aabc dot dk
-Status: Open
+Status: Feedback
Bug Type: InterBase related
Operating System: Windows NT / Firebird 1.0
PHP Version: 4.2.3
New Comment:
Fixed both in CVS and php_4_3.
http://snaps.php.net/
please, try using Stable(4.3.x-dev) build >= 15 May
Previous Comments:
------------------------------------------------------------------------
[2003-04-03 13:33:10] jear at aabc dot dk
I've downloaded og installed the latest STABLE snaphot with ALL the
dlls. After rebooting, the same erroneous number is returned from
Interbase to PHP:
IB/Firebird datatype (decimal 10,0), value 2303511415 returns
2147483647.
------------------------------------------------------------------------
[2003-03-31 03:33:38] sniper@php.net
Make sure that you REALLY updated to the latest STABLE snaphot and ALL
the dlls. (and you might need to reboot even)
(don't install anything when your webserver is running)
------------------------------------------------------------------------
[2003-03-31 03:08:09] jear at aabc dot dk
I've tried current CVS and php_4_3 for Windows.
Unfortunately the numeric/decimal datatype beyond
the bounds of the PHP integer type (> 2147483647), still causes an
overflow.
Example:
InterBase 2303511415 (decimal 10,0) returns 2147483647
------------------------------------------------------------------------
[2003-03-13 16:13:10] daniela@php.net
Fixed in current CVS and php_4_3
------------------------------------------------------------------------
[2003-02-11 02:37:53] jear at aabc dot dk
I've tried the CVS snapshot for Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Unfortunately the numeric/decimal datatype beyond
the bounds of the PHP integer type (> 2147483647), still causes an
overflow.
integer overflow is still there.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20641
--
Edit this bug report at http://bugs.php.net/?id=20641&edit=1