943,428 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 7282
  • PHP RSS
Dec 18th, 2004
0

Converting from VB6 - php XOR Problem

Expand Post »
Today is my first day learning php so be gentle :-|

In vb6
102 Xor 49 = 87

I can't get this result in php.

I think the php xor can only be 0 (well a blank string) or 1 so i don't understand what to do.
Any ideas?

Thanks in advance.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
adam3223 is offline Offline
1 posts
since Dec 2004
Jan 3rd, 2005
0

Re: Converting from VB6 - php XOR Problem

Hi

I don't know how you are doing it, but it should be like this!

[php]
<?

echo 102 ^ 49;

?>
[/php]


John
Reputation Points: 10
Solved Threads: 2
Newbie Poster
demo is offline Offline
18 posts
since Jan 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Slashes before Double Quote marks
Next Thread in PHP Forum Timeline: Urgent help needed !!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC