Q104
What will be the output of the following PHP code ?
A.
10
B.
0
AnswerC.
true0
D.
true10
Answer: Option B
Solution
Answer: Option B
Solution:
In if condition when the first case is 0 and is an && operation then the second command is not executed.