Functions 1-8 Why did we use print?


#1

I was wondering why we used print instead of echo in this exercise, because up until this point I thought that was the print command used in PHP. Could someone please explain what the difference is, or clarify whether there even is a difference between print and echo? Thanks.


#2

There is absolutely no diffrence between print and echo. Although it is rumered that echo is more fast by milliseconds there is no diffrence. But there are commands like printf() var_dump() that help you on debugging your variable. Learn more here.


#3

Thank you for distinguishing that difference @amanuel2.