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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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: Fri Dec 27 10:01:28 2024 UTC