Bug #16366: bit shifting error

From: Date: Sun, 31 Mar 2002 16:48:25 +0000
Subject: Bug #16366: bit shifting error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3682@lists.php.net to get a copy of this message
From: adam@adeptsoftware.com Operating system: WinXP PHP version: 4.1.2 PHP Bug Type: Math related Bug description: bit shifting error echo (11>>34) produces "2" Also PHP docs state that the max integer is "usually" 32 bits. So what is an unsigned bigint from mysql stored as, and can I use the bit shift operator on it? -- Edit bug report at http://bugs.php.net/?id=16366&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16366&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16366&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16366&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16366&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16366&r=support Expected behavior: http://bugs.php.net/fix.php?id=16366&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16366&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16366&r=submittedtwice

« previous php.bugs (#3682) next »