Vidyalelo
PHP · Q43

Operators And Expressions

Programming · PHP · question 43

Q43

What will be the output of the following PHP code ?

A.
4 = 4 + 3 + 1
Answer
B.
8
C.
8 = 4 + 3 +1
D.
Error

Answer: Option A

Solution

Answer: Option A
Solution:
Again since the variables are inside double quotes we get this result.