Q77
What will be the output of the following PHP code ?
A.
012
B.
123
C.
000
AnswerD.
111
Answer: Option C
Solution
Answer: Option C
Solution:
Every time the function is called the value of x becomes 0, therefore we get 0 on every function call.