Vidyalelo
PHP · Q19

Operators And Expressions

Programming · PHP · question 19

Q19

What will be the output of the following PHP code ?

A.
This, was, a, bad, idea
B.
This was a bad idea
C.
Thiswasabadidea
Answer
D.
Error

Answer: Option C

Solution

Answer: Option C
Solution:
In an echo statement the dot operator is used to join strings.