Q60
What will be the output of the following PHP code ?
A.
Hello World
AnswerB.
Bye
C.
Hello worldBye
D.
Error
Answer: Option A
Solution
Answer: Option A
Solution:
Since there is a semi-colon in between bye, the line ends at bye would have printed if a echo was present before “$bye”.