Sr.No. | echo | |
---|---|---|
1 | echo is a statement which used to display the output. it can be written with parentheses echo or without parentheses echo. | Print is also a statement which used to display the output. it can be written with parentheses print( ) or without parentheses print. |
2 | echo can pass multiple string arguments separated as ( , ). | Using print can doesn't pass multiple string arguments. |
3 | It doesn't return any value. | It always return 1. |
4 | echo is faster than print. | It is slower than echo. |