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

How do I find environment variables?

943


Swap two variables value without using third variable in php ?

1022


Can we use get instead of post?

920


What is a php object?

902


What is mysql in php?

894


How do you parse and process html/xml in php?

973


Explain the advantages of using PHP?

971


What is the scope of a variable defined in a function?

1009


Is php 7 backwards compatible?

983


Why did you choose this particular career path?

8756


What does $_cookie mean?

949


How do I stop a php script?

925


How to merge values of two arrays into a single array?

955


How to break a file path name into parts?

944


How to access a specific character in a string?

934