userimage

What is the differences between echo and print in PHP?

What is the differences between echo and print in PHP?
userimage

echo and print are largely the same in PHP and both are used to output data to the screen.

The only differences are as follows:

echo does not return a value whereas print does return a value of 1 (this enables print to be used in expressions).
echo can accept multiple parameters (although such usage is rare) while print can only take a single argument.

Answer is