Q35
What will be the output of the following PHP code ?
A.
hihellohi1
B.
no output
AnswerC.
hihi1
D.
hi1
Answer: Option B
Solution
Answer: Option B
Solution:
As break is provided before print statement in case 2 it breaks the loop before printing.