Problem with AND'ing numbers

From: Date: Mon, 07 Aug 2000 08:51:48 +0000
Subject: Problem with AND'ing numbers
Groups: php.general 
Request: Send a blank email to php-general+get-10431@lists.php.net to get a copy of this message
$A = 0xB0FF8A63 & 0x0000001F; I'm trying to AND both numbers above together, but it appears that it returns a zero when it was supposed to be 0x00000003. Did anyone ever come across this problem, or could help me out on a workaround if there is ? Thanks, Perry

« previous php.general (#10431) next »