Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1816 posts

Uber Geek
+1 received by user: 51

Trusted

Topic # 23857 10-Jul-2008 11:15
Send private message

I am trying to perform a not on a character in php,  like I did in asm where it would take all the bits and change them 0's to 1 and 1's to 0's

Have I missed something as I can see how to do it in php.

Create new topic
Awesome
4774 posts

Uber Geek
+1 received by user: 1057

Trusted
Subscriber

  Reply # 146013 10-Jul-2008 11:17
Send private message

post code?

I iz your trusted friend
5760 posts

Uber Geek
+1 received by user: 134

Mod Emeritus
Trusted
Subscriber

Reply # 146014 10-Jul-2008 11:21
Send private message

~ if it is a bitwise operator
! if it is a logical operator

PHP Operators

Google is your friend!!!!




Internet is my backyard...

 

«Geekzone blog: Tech 'n Chips Takeaway» «Personal blog: And then...»

 

Please read the Geekzone's FUG

 


 
 
 
 




1816 posts

Uber Geek
+1 received by user: 51

Trusted

  Reply # 146118 10-Jul-2008 14:12
Send private message

Thanks heaps,  bitwise is the key that  I was looking for.
http://nz2.php.net/manual/en/language.operators.bitwise.php

My searching for 'php not' was not very successful and searching php.net for 'not also was also ....

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

New Zealand government to create digital advisory group
Posted 16-Dec-2017 08:47


Australia datum changes means whole country moving 1.8 metres north-east
Posted 16-Dec-2017 08:39


UAV Traffic Management Trial launching today in New Zealand
Posted 12-Dec-2017 16:06


UFB connections pass 460,000
Posted 11-Dec-2017 11:26


The Warehouse Group to adopt IBM Cloud to support digital transformation
Posted 11-Dec-2017 11:22


Dimension Data peeks into digital business 2018
Posted 11-Dec-2017 10:55


2018 Cyber Security Predictions
Posted 7-Dec-2017 14:55


Global Govtech Accelerator to drive public sector innovation in Wellington
Posted 7-Dec-2017 11:21


Stuff Pix media strategy a new direction
Posted 7-Dec-2017 09:37


Digital transformation is dead
Posted 7-Dec-2017 09:31


Fake news and cyber security
Posted 7-Dec-2017 09:27


Dimension Data New Zealand strengthens cybersecurity practice
Posted 5-Dec-2017 20:27


Epson NZ launches new Expression Premium Photo range
Posted 5-Dec-2017 20:26


Eventbrite and Twickets launch integration partnership in Australia and New Zealand
Posted 5-Dec-2017 20:23


New Fujifilm macro lens lands in New Zealand
Posted 5-Dec-2017 20:16



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.