I came across this line of code in an application I am revising:
substr($sometext1 ^ $sometext2, 0, 512);
What does the ^ mean
^
It's the XOR (exclusive-or) operator. For strings it's used as simple encryption.