What Is Different Between PHP Echo And PHP Print Statement.

What is different between PHP function of echo and print statement.

echo() and print() are used to output strings. The speed of both function is almost the same.

echo() can take multiple expressions whereas print cannot take multiple expressions.

Print return true or false based on success or failure whereas echo doesn’t return true or false.

0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments