Q76
What will be the output of the following PHP code ?
A.
5
B.
10
AnswerC.
15
D.
Error
Answer: Option B
Solution
Answer: Option B
Solution:
The value of global variable y does not change therefore it’ll print 10;