Q107
What will be the output of the following PHP code ?
A.
5
AnswerB.
4
C.
3
D.
error
Answer: Option A
Solution
Answer: Option A
Solution:
Post increment of a is done after expression evaluation.
Operators And Expressions
Programming · PHP · question 107
Q107
Answer: Option A