I came across this line of code in an application I am revising:
substr($sometext1 ^ $sometext2, 0, 512);
What does the ^ mean
^
It's a bitwise operator.
Example:
"hallo" ^ "hello"
It outputs the ASCII values #0 #4 #0 #0 #0 ('a' ^ 'e' = #4).
#0
#4
'a'
'e'