php.net |  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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: yaroslav at yaroslav dot ru
New email:
PHP Version: OS:

 

 [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 11.9.2.5 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] sniper@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC