#31490 [Opn->Fbk]: integer problem

From: Date: Tue, 11 Jan 2005 11:50:42 +0000
Subject: #31490 [Opn->Fbk]: integer problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-71848@lists.php.net to get a copy of this message
ID: 31490 Updated by: derick@php.net Reported By: php at dicr dot org -Status: Open +Status: Feedback Bug Type: Variables related Operating System: Fedora Linux PHP Version: 4.3.10 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#71848) next »