Short circuits, && and ||
A && B
(A AND B) can short circuit only if A is false. Then the whole expression will be false, B has not to be tested.
If A is true, B has to be tested as well, cause if B is false, the whole expresion would still be false.
A || B
(A OR B) can short circuit only if A is true. Because regardless of B the whole expression would be true.
A ^^ B does not exist
A short circuit of A XOR B cannot work...
A&B or A|B are without short circuit, both A and B are tested in any case.
Yours,
Bu.