php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21595 Overflow in Numeric types
Submitted: 2003-01-12 06:45 UTC Modified: 2003-05-24 01:21 UTC
From: alex at aftinfo dot hu Assigned: helly (profile)
Status: No Feedback Package: PostgreSQL related
PHP Version: 4.3.0 OS: ANY
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex at aftinfo dot hu
New email:
PHP Version: OS:

 

 [2003-01-12 06:45 UTC] alex at aftinfo dot hu
Hello,

I've seen a bugreport (Bug #21340 numerics can overflow php 
numeric datatypes ) and I have experienced it too with 
postgreSQL.

Database IDs (varchar(24)) are interpreted as numbers, and 
lose information. f.e.: 

200201010000000000000000 is equal to 200201010000000000000001 

(!!!!) The patches I've found were bad, they didn't help.

Values from a field larger than PHP's numerc types should
be reported as srtings, not as numerics!

Bye,

Alex

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-24 01:21 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 20:01:29 2024 UTC