Difference between echo and print in php
There is slight difference between echo and print. But both are used to print line of code to the browser.
There are two main difference between echo and print:-
- echo does not return any value while print returns true or false on successful print.
- echo is faster than print.
I advice you to use echo in your code and don’t use echo and print both because it will confuse other programmers who watch your code.
Related Posts
Don’t Miss A Post!
Categories
- Blogging (4)
- Browsers (7)
- computer beginners (11)
- computers (13)
- Freelancing (9)
- ipad and iphone (6)
- Javascript Tutorials (2)
- Laptops (1)
- Miscellenious (1)
- Mobiles (13)
- Photoshop video tutorial in urdu (7)
- Php Tutorials (3)
- Programming (31)
- Social Network (12)
- Wordpress (4)
- wordpress video tutorial in urdu (7)
Tags
2G 2G vs 3G 3G 3G and 4G 4G architecture Best social networking websites beta class vs object difference between 2G and 3G difference between 3G and 4G difference between class and object Difference between wamp Earn money Earn money by making videos facebook features firebug introduction to mvc isp isp versus web server lamp and xampp making videos model view controller mvc myspace networking sites new object vs class opera 11 orkut php popular Run xampp skype at same time teamviewer tool tools tutorial very web developer web development website development what is isp Why php
WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.





