Re: Bitwise NOT operator?
| From: | Gary | Date: | Wed, 25 Aug 2010 13:56:07 +0000 |
| Subject: | Re: Bitwise NOT operator? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307654@lists.php.net to get a copy of this message | ||
Colin Guthrie wrote:
> 'Twas brillig, and Andy McKenzie at 24/08/10 21:42 did gyre and gimble:
>> Even if I'd thought about it in terms of the architecture, I
>> would have assumed that PHP would treat a two-bit number as a two-bit
>> number
[..]
> where do you ever provide a two bit number?
You can do this with some C or C++ compilers -
http://en.wikipedia.org/wiki/Bit_field - so it
isn't a completely off
the wall idea.
--
Gary Please do NOT send me 'courtesy' replies off-list.
PHP 5.2.12 (cli) (built: Jan 14 2010 14:54:11)
1.7.6(0.230/5/3) 2010-08-16 16:06 Cygwin