Q22
What will be the output of the following PHP code ?
A.
0
B.
1
C.
error
AnswerD.
no output
Answer: Option C
Solution
Answer: Option C
Solution:
break is not defined for a if else ladder.
Control Structures(Loop In PHP)
Programming · PHP · question 22
Q22
Answer: Option C