So i've just started learning PHP and i came across a part i didn't quite understand.
The book gave me three lines.
&& and true && true=true, every other combination results in false.
|| or false || false=false, every other combination results in true.
XOR or false XOR true=true, every other combination results in false.
If anyone can clarify what this means i would very much appreciate it.
Edit
the following is text above my previous part.
Every equation yields a value: either true(1) or false(0).
echo true + true + false
This results in a value of 2 (1 + 1 + 0).