1) echo is faster than print. Because echo doesn’t have return parameter like print.
2) print behaves like function where echo not.
3) echo can take multiple parameter where print can’t.
NOTE: echo is the prefer method.
1) echo is faster than print. Because echo doesn’t have return parameter like print.
2) print behaves like function where echo not.
3) echo can take multiple parameter where print can’t.
NOTE: echo is the prefer method.