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

Gaurav Kumar

Hi, my name is Gaurav Kumar and I specialize in Computer Software industry. I have been working as a Software Developer from last 3+ years,and its my passion to learn new technology and sharing what I've learned.