RE: [PHP] Problem with AND'ing numbers

From: Date: Mon, 07 Aug 2000 11:00:08 +0000
Subject: RE: [PHP] Problem with AND'ing numbers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10443@lists.php.net to get a copy of this message
I'm only guessing, but does PHP actually have a HEX variable type? - Jason Wong Digital View Ltd 2201 Nanyang Plaza 57 Hung To Road Kwun Tong HONG KONG Tel: +852-2861-3615 Fax: +852-2520-2987 www.digitalview.com > -----Original Message----- > From: Perry Loh [mailto:skeevs@crosswinds.net] > Sent: 07 August 2000 16:52 > To: php-general@lists.php.net > Subject: [PHP] Problem with AND'ing numbers > > > $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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#10443) next »