Jump to content


Photo

What does "^" Character do?


  • Please log in to reply
2 replies to this topic

#1 viriio

viriio
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 09 October 2006 - 10:26 AM

Does anyone know what the ^ character does?

e.g.

echo "<br>" . "a" ^ "b" ."</br>";

I'm trying to covert some code from php to VB, if I only knew what the ^ was doing. Any help would be greatly appreicated.

#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 09 October 2006 - 12:54 PM

Bitwise Exclusive OR

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 xsist10

xsist10
  • Members
  • PipPipPip
  • Advanced Member
  • 114 posts

Posted 09 October 2006 - 01:19 PM

www.php.net is your friend.

http://www.php.net/m...e.operators.php
SA PHP Archives - www.phparchives.za.org




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users