note 65566 added to function.gmp-and
| From: | ShadowBird at osu1 dot php dot net | Date: | Wed, 03 May 2006 16:22:24 +0000 |
| Subject: | note 65566 added to function.gmp-and | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110460@lists.php.net to get a copy of this message | ||
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
----
Server IP: 216.194.113.175
Probable Submitter: 68.15.238.181
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.gmp-and.php
Edit -- http://master.php.net/note/edit/65566
Del: integrated -- http://master.php.net/note/delete/65566/integrated
Del: useless -- http://master.php.net/note/delete/65566/useless
Del: bad code -- http://master.php.net/note/delete/65566/bad+code
Del: spam -- http://master.php.net/note/delete/65566/spam
Del: non-english -- http://master.php.net/note/delete/65566/non-english
Del: in docs -- http://master.php.net/note/delete/65566/in+docs
Del: other reasons-- http://master.php.net/note/delete/65566
Reject -- http://master.php.net/note/reject/65566
Search -- http://master.php.net/manage/user-notes.php