Interview QuestionsCategory: PHP Interview QuestionsWhat is a difference between Echo and Print statement?
bestonetechnologies Staff asked 3 years ago

What is a difference between Echo and Print statement?

1 Answers
bestonetechnologies Staff answered 3 years ago

echo() can take multiple expressions but print cannot take multiple expressions.
Print return true or false based on success or failure but echo doesn’t return true or false.