I tested the xor stuff, and I did this:
PHP Code:
function onCreated()
{
var1 = 1;
var2 = 2;
echo((var1 xor var2 ? "true" : "false"));
}
// would return true
and
PHP Code:
function onCreated()
{
var1 = 1;
var2 = 1;
echo((var1 xor var2 ? "true" : "false"));
}
// would return false
is this one example of how to use it?
by this it looks like it returns false if they are not the same,
and false if they are equal, so..?
if this is not right, got an example?