Should I use echo or print in php scripts?

Viewed 11364

Which statement should I use in php scripts? Echo or Print? What is faster and mostly used? Thanks in advance.

9 Answers

echo can have two parameters

Ex: echo $x, "\n";

print only one parameter

Ex: print "\n";

Related