|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22310 cannot fetch value greater then 32-bit
Submitted: 2003-02-19 18:14 UTC Modified: 2003-02-19 21:47 UTC
From: yaroslav at yaroslav dot ru Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.3.1 OS: Linux 32-bit 2.4 kernel
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
49 - 32 = ?
Subscribe to this entry?

 [2003-02-19 18:14 UTC] yaroslav at yaroslav dot ru
When I try to fetch a numeric (12,0) value in php 4.1.2 I get correct values. After upgrade to php 4.3.1 I get numbers limited to 2147483647 - everything greater turns as this number. Also rows containing such values appear to be bogus in other fields...

In both versions expressions like print(2147483647*1000); evaluate correctly.

Sybase is ASE on Linux 2.4.18 (redhat 7.2 based). Apache is 1.3.27.

Hardware is double Athlon 1800+ MP on Tyan Tiger MPX with 512Mb DDR266 Registered.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-19 19:14 UTC] yaroslav at yaroslav dot ru
Sorry... it seems to be duplicate for bug #21340.

Btw, it's a pity this critical fix for sybase_ct users was not introduced in PHP 4.3.1... In what version this long-awaited fix may appear? 4.5.0? :^(
 [2003-02-19 21:47 UTC]
In 4.3.2 which will be released (if nothing critical pops up) there will be this and other fixes. It'll be out in next month or so. :)

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Sep 29 14:05:55 2022 UTC