Q47
What will be the output of the following PHP code ?
A.
5
AnswerB.
3
C.
0
D.
1
Answer: Option A
Solution
Answer: Option A
Solution:
The inner most bracket is evaluated first, since it covers only variable y it is as good as not using brackets.