Bug #13150: sprintf("%08x",1<<31) generates -80000000

From: Date: Wed, 05 Sep 2001 14:09:41 +0000
Subject: Bug #13150: sprintf("%08x",1<<31) generates -80000000
Groups: php.dev 
Request: Send a blank email to php-dev+get-65155@lists.php.net to get a copy of this message
From:             adler@bnl.gov
Operating system: linux
PHP version:      4.0.6
PHP Bug Type:     Output Control
Bug description:  sprintf("%08x",1<<31)  generates -80000000

sprintf("%08x",1<<31)  generates -80000000, should generate 80000000.

That's it!

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



Thread (4 messages)

« previous php.dev (#65155) next »