$x = true && false; echo $x;
A. 1
B. Nothing
C. 0
D. Error
Answer:B
$x = true && false; echo $x;
A. 1 B. Nothing C. 0 D. Error
Explanation: In PHP, the ‘&&’ operator returns true if both operands are true. Here, one is true and the other is false, so it returns false. When echo a boolean false, PHP outputs nothing.