Vidyalelo
PHP · Q22

Operators And Expressions

Programming · PHP · question 22

Q22

What will be the output of the following PHP code ?

A.
HelloWorld
Answer
B.
two
C.
Hello
D.
Error

Answer: Option A

Solution

Answer: Option A
Solution:
Even though both the variables are inside the double-quotes, the value of the variable is substituted and then printed to the screen.