Q19
What will be the output of the following PHP code ?
A.
error
B.
2
AnswerC.
hi
D.
how are u
Answer: Option B
Solution
Answer: Option B
Solution:
Enters if else as first condition is false and thus x is set to 2.