Re: bit wise math? Is there a function to easily return the bits?

From: Date: Thu, 25 Jan 2007 19:23:31 +0000
Subject: Re: bit wise math? Is there a function to easily return the bits?
Groups: php.general 
Request: Send a blank email to php-general+get-247791@lists.php.net to get a copy of this message
If there isn't a function to do exactly what you want, you could use dec2bin() to at least get the binary and work from there: http://us3.php.net/manual/en/function.decbin.php -TG = = = Original message = = = Is there a php function I can call to pass in a number and get the values returned? For example, pass in 7 and get 1,2,4 ? Thanks! ___________________________________________________________ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com.

« previous php.general (#247791) next »