Difference between echo and print
1. Speed (echo is slightly faster than print)
2. Parameter (echo can take multiple parameters unlike print)
3. Expression (print can be used as part of more complex expression where echo cannot)
die is another thing which has the same functionality of exit
|