note 65566 deleted from function.gmp-and by nlopess
| From: | nlopess@php.net | Date: | Wed, 03 May 2006 18:46:03 +0000 |
| Subject: | note 65566 deleted from function.gmp-and by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110466@lists.php.net to get a copy of this message | ||
Note Submitter: Shadow Bird
----
If you are at this page because you were looking for a way to do logical math on a binary level with
numbers,
for example:
2 and 3 = 2
4 and 3 = 0
Then don't bother with this command. What you are really looking for is a bitwise operator
instead of a logic operator. I know this is common sence for most PHP writers but everyone needs to
start somewhere and I was once one who could not figure out how to do this in PHP. If this is you
then your answer is here:
http://us3.php.net/manual/en/language.operators.bitwise.php