Is there any difference between"echo", "print", "printf" in php?
They seem to have the same output when being implemented...
Thanks!
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Sign up to join this communityIs there any difference between"echo", "print", "printf" in php?
They seem to have the same output when being implemented...
Thanks!
here's a good link which shows you the differences: http://www.nutt.net/2004/12/09/php-benchmarking-echo-vs-print-vs-printf/