#21595 [Fbk->NoF]: Overflow in Numeric types

From: Date: Sat, 24 May 2003 06:21:13 +0000
Subject: #21595 [Fbk->NoF]: Overflow in Numeric types
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40335@lists.php.net to get a copy of this message
ID: 21595 Updated by: sniper@php.net Reported By: alex at aftinfo dot hu -Status: Feedback +Status: No Feedback Bug Type: PostgreSQL related Operating System: ANY PHP Version: 4.3.0 Assigned To: helly New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-05-19 18:55:38] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-01-12 06:45:27] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21595&edit=1

« previous php.bugs (#40335) next »