Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa PHP What is the use of Print or Echo Function in PHP?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vinod
What is the use of Print or Echo Function in PHP?
1 Answer(s)      3 years and 7 months ago
Posted in : PHP


Hi,

Can anyone explain what is the use of print or Echo function in PHP? Please provide online reference for this.

Thanks,


Advertisement
View Answers

March 3, 2011 at 10:34 AM


Hi,

Although the use of both Print or Echo Function in PHP are same. But on comparing we can say that echo function in php is bit faster then print command, as it does not return any value. On the other hand Print command returns true or false (Boolean) value that takes some time to process.

Thanks,



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com