Vidyalelo
PHP · Q34

Operators And Expressions

Programming · PHP · question 34

Q34

What will be the output of the following PHP code ?

A.
thiswasabadidea
Answer
B.
this was a bad idea
C.
nothing
D.
error

Answer: Option A

Solution

Answer: Option A
Solution:
You can use the dot operator like in echo but you can not use the comma operator to do the same.