Vidyalelo
PHP · Q11

Operators And Expressions

Programming · PHP · question 11

Q11

What will be the output of the following PHP code ?

A.
red
B.
green
Answer
C.
red green
D.
error

Answer: Option B

Solution

Answer: Option B
Solution:
The variable contains the last value which has been assigned.