Thread: Square root
View Single Post
  #13  
Old 12-02-2006, 03:11 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Chompy View Post
How I use Xor, is this >_>

PHP Code:
function onCreated() {
 
var1 "foo";
 
var2 "bar";
 echo(
var1 xor var2 0); // would return true
}
/*
   True  = Not alike
   False = Alike
*/ 
X_x.. Why are you using xor on strings? That's not how it works :x
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote