Echo Statement in PHP

The echo statement can be used with or without parentheses: echo or echo(). It is used to output data to the screen. It has no return value. Actually echo() is not a function, it is a language construct therefore you can use it without parentheses.

Print Statement in PHP

The print statement can be used with or without parentheses: print or print(). It is used to display a string. It has a return value of 1 so it can be used in expressions. Print() is not actually a real function, it is a language construct like echo.