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...

For printing out strings, there are echo, print and printf.
Explain the differences.

Answer Posted / hardik

echo is a language construct(You can see we don't use
paranthesis for echo).echo does not return any value. print
is also a language construct but it returns an integer
value. printf is a function..... echo is considered fast
than print and printf

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does csrf token mismatch mean?

1212


What is the expansion of LAMP?

1106


Should I learn php before wordpress?

1030


Php says that an array is an ordered map. But how the values are ordered in an array?

1104


How to include a file code in different files in php?

1177


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

939


What is the difference between require_once and require in php?

1152


What is pdo in php why use?

989


Where can I learn php?

993


How to remove the new line character from the end of a text line in php?

1020


Explain me what is the w3c?

1196


How you can update memcached when you make changes to php?

1133


Why do we use javascript in php?

1019


What are the benefits of using queries?

1239


What language is similar to php?

1046