I need a function in PHP which does the same as
BITXOR(ASC("a"), 9)
does in Visual FoxPro 9 (the result is 104).
I don't code PHP ever, but the function XOR doesn't the same, I do:
ord($lcCaract) xor $lnKey
where $lcCaract = "a" and $lnKey = 9 and the result is 0.
Any help?