HOME BLOG PORTFOLIO PHOTO CONTACT
What is the difference between echo and print statement?

Answer
Echo can accept multiple expressions while print cannot. With respect to performance echo is faster than print since it does not return a value. Print returns 1 or 0 depending on the success.

   Share on Facebook

Page views:280