Q45
What will be the output of the following PHP code ?
A.
2
B.
3
AnswerC.
0
D.
1
Answer: Option B
Solution
Answer: Option B
Solution:
The increment happens and then the check happens.
Control Structures(Loop In PHP)
Programming · PHP · question 45
Q45
Answer: Option B