What is the use of Print or Echo Function in PHP?

Ads
 

What is the use of Print or Echo Function in PHP?

Hi,

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

Thanks,

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,

Ads









Related Tutorials/Questions & Answers:
What is the use of Print or Echo Function in PHP?
What is the difference between PHP4 and PHP5?
Advertisements
Print or Echo Functions in PHP
What is the use of friend function?
echo- Not a function
echo and print statement
echo and print statement
PHP Echo Function
PHP Introduction to PHP Echo and print Tutorial
For printing out strings, there are echo, print and printf. Explain the differences.
PHP Echo Variables
What is the microtime() Function PHP ?
How to use the PHP filetype() Function
New features in PHP5?
What is the use of DESC in SQL?
What is difference between a PROCEDURE & FUNCTION ?
What is the functionality of MD5 function in PHP?
write a program to use for loop print **********========== in c language
What is use of a abstract variable?
What is use of a abstract variable?
What is Hibernate and what is its use?
What is the use of Bluetooth technology
What is the use of Java?
how to write a function to print for finding the longest palindrome in the given string
What is the use of Hibernate?
What is the use of CASCADE CONSTRAINTS?
What is the use of Hibernate is used?
What is the use of DBCC commands?
what is the correct format of charAt() function?
what the use of taglib - JSP-Servlet
What is the use of Hibernate Native SQL?

Ads