PHP 4.0 Bug #4254 Updated: 32 bit integer support misbehaving in general

From: Date: Tue, 19 Dec 2000 11:36:53 +0000
Subject: PHP 4.0 Bug #4254 Updated: 32 bit integer support misbehaving in general
Groups: php.dev 
Request: Send a blank email to php-dev+get-41840@lists.php.net to get a copy of this message
ID: 4254 Updated by: stas Reported By: ctsmhn@cts.com Old-Status: Feedback Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Should work now, no feedback - closing. Reopen if it's still problematic. Previous Comments: --------------------------------------------------------------------------- [2000-11-19 06:48:56] stas@php.net Please try latest version and report if it works. --------------------------------------------------------------------------- [2000-08-23 21:40:43] sniper@php.net I think the user misunderstood Stas's comment. (I did too..) It should be fixed but it hasn't been fixed yet. I tried this myself with the latest CVS and got the same results as derick. --Jani --------------------------------------------------------------------------- [2000-08-23 08:26:45] sniper@php.net Have you tried recent versions of php4 (from CVS or http://snaps.php.net/ ) ??? --Jani --------------------------------------------------------------------------- [2000-07-24 16:43:39] stas@php.net Well, 0x doesn't work too good in current PHP version. This should be fixed. --------------------------------------------------------------------------- [2000-07-24 16:37:10] derick@php.net I tried it here and got the folowing results (with 4.0.1pl2): 2147483647 1.9999999995343 1.1249999995343 1.2499999995343 1.1249999930151 1.0000000004657 4294967294 -1879048208 2147483647 It's very strange, $var2 to $var5 are suddenly floating point numbers. Zeev, Andi? Could someone tell what's going on here? --------------------------------------------------------------------------- The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online. Full Bug description available at: http://bugs.php.net/?id=4254

« previous php.dev (#41840) next »