What is difference between echo() and print()?


  • echo and print both are used to display output in PHP.
  • echo/print both can be used with or without parentheses



  • In PHP echo does not return any value while print return 1.
  • As we know echo does not return any value so echo is faster than print.
  • Using echo we can print multiple values but using print can not possible.

But successfully wielding the consensus criterion presupposes making wise assignment help decisions