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.

Hi

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

<?

echo 102 ^ 49;

?>

John

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.