Quote:
Originally Posted by Chompy
How I use Xor, is this >_>
PHP Code:
function onCreated() {
var1 = "foo";
var2 = "bar";
echo(var1 xor var2 ? 1 : 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