I saw this code from an answer on PPCG:
echo BeeABBeeoBodBaBdOdPQBBgDQgDdp^"\n\n\t8b\n\n\t\nb&\nb b \n%%nb%%%\n%\nQ";
I know PHP casts undefined constants into strings, so the equivalent code is:
echo 'BeeABBeeoBodBaBdOdPQBBgDQgDdp' ^ "\n\n\t8b\n\n\t\nb&\nb b \n%%nb%%%\n%\nQ";
The output of those are:
Holy Hole In A Donut, Batman!
Can someone explain to me how the XOR of those two strings produce that line of output?