#31490 [Fbk]: integer problem

From: Date: Tue, 11 Jan 2005 13:24:28 +0000
Subject: #31490 [Fbk]: integer problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71855@lists.php.net to get a copy of this message
 ID:               31490
 Updated by:       jorton@php.net
 Reported By:      php at dicr dot org
 Status:           Feedback
 Bug Type:         Variables related
 Operating System: Fedora Linux
 PHP Version:      4.3.10
 New Comment:

If you use the Fedora Core php package, current updates still have the
float/long conversion patch applied: see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143514
this'll be fixed in the 4.3.11 updates as-and-when.


Previous Comments:
------------------------------------------------------------------------

[2005-01-11 12:50:42] derick@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

------------------------------------------------------------------------

[2005-01-11 11:52:57] php at dicr dot org

Description:
------------
printf("%X",0xFFFFFFFF) 
result of this is hard stupid: 7FFFFFF 
mus be: FFFFFFFF 
 
echo (int)0xFFFFFFFF 
result is hard stupid: 2147483647 
must be: -1 
 
 
 
 
 

Expected result:
----------------
printf("%X",0xFFFFFFFF) 
result: FFFFFFFF 
 
echo (int)0xFFFFFFFF 
result: -1 
 
 
 
 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31490&edit=1


Thread (4 messages)

« previous php.bugs (#71855) next »