Vidyalelo
PHP · Q15

Operators And Expressions

Programming · PHP · question 15

Q15

What will be the output of the following PHP code ?

A.
red1
B.
red 1
C.
0
D.
1
Answer

Answer: Option D

Solution

Answer: Option D
Solution:
+ just returns the numeric value even though it is inside double quotes.