PHP 4.0 Bug #6369 Updated: Bitwise OR does not work with negative numbers

From: Date: Sat, 26 Aug 2000 18:17:48 +0000
Subject: PHP 4.0 Bug #6369 Updated: Bitwise OR does not work with negative numbers
Groups: php.dev 
Request: Send a blank email to php-dev+get-30779@lists.php.net to get a copy of this message
ID: 6369 Updated by: stas Reported By: jonny@1409.org Status: Closed Bug Type: Misbehaving function Assigned To: Comments: I wonder where do you get these values? -123456789 is 0xf8a432eb or 11111000101001000011001011101011 the second number is right. the result of ORing is: -33604869 which is 11111101111111110011101011111011. Where's the problem? Full Bug description available at: http://bugs.php.net/?id=6369

« previous php.dev (#30779) next »