Ycsoftware.net
Menu
  • Databases
    • MySQL
    • MS SQL Server
    • Foxpro
  • Programming
    • .NET
    • C#
    • Drupal
    • Java
    • PHP
    • Javascript
  • System Administration
    • Hardware
    • Linux
    • MAC
    • Virtual Servers
    • VMWARE
    • Servers
    • VirtualBox
  • Web Design
    • CSS
    • Flash
    • HTML
    • SEO
  • Other
  • Contact Us
    • About Us

Difference between print and echo in PHP

  • September 12, 2011

I am not going to be too verbose on this one because there is no reason to.

Both echo and print do the same thing with the exception that:

1. "echo" seems to be faster
2. "print" does return true or false and echo does not.

Other than that it is just a matter of preference.

Reference

Print
http://php.net/manual/en/function.print.php

Echo
http://us3.php.net/manual/en/function.echo.php

  • Posted in: PHP, Programming
Next Post »
« Previous Post

Search

Search

YCSoftware Recent Comments

Thanks very much !!!...
Just testing...
Awesome, problem solved. Thanks man....
REboot the MAC and Try to redownload the JDK. It might be that the JDK...
When I download the new JDK for Mac it says the disk image is not reco...
You are my hero for posting this....
Greetings! Very useful advice in this particular article! It's the ...
I love what you guys are up too. This type of clever work and reportin...
relates to. To fix that you can either include the path to mysqldump e...
By implementing all these third-party tacked on start menus, all we’...

Tags

.net C# Centos 5 interest internet Microsoft Access Microsoft Office Programming technology thinker vmware vmware tools

Sponsors

YCSoftware
  • © 2025 Ycsoftware.net
Top