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