Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the Diff. Between echo() and Print() in PHP?

Answer Posted / ramesh kumar jayaraman

In Php echo is a statement..it doesn't return any
value...And It is faster
because it does not return any value, but print which
always returns 1 and 0.

The print acts like a function and it can be used in complex
expressions.

but echo can not be used in this way.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array and function?

1103


Write down the code for saving an uploaded file in PHP.

1116


What is the difference between md5(), crc32() and sha1() crypto on php?

1112


Tell me how to set a page as a home page in a php based site?

995


Why many companies are switching their current business language to php?

1160


List some of the features of php7.

1042


How to download and install php on windows?

1226


Explain what is the main difference between require() and require_once()?

1044


How are php sessions stored?

1034


What is design pattern? Explain all including singleton pattern?

1034


What is the purpose of using php?

1090


How is it possible to remove escape characters from a string?

1189


What is the function of trim?

989


What is $row in php?

994


What is $_ get and $_ post in php?

1148