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 to return ascii value of character in php?

1175


Which is better #define or enum?

968


What is the difference between $message and $$message in php?

1013


What is the use of imagetypes() method?

979


What is php mean?

1033


Is runtime polymorphism overriding?

1005


What’s the difference between htmlentities() and htmlspecialchars()?

1091


Will a comparison of an integer 12 and a string "13" work in php?

952


What are php functions?

1048


What is faster in php?

1058


Which is the dependent variable?

917


In PHP, fgets() is used to read a file one line at a time. State Whether True or False?

1175


What is explode() in php?

1008


What is difference between rest api and restful api?

984


What are the rules to declare a php variables?

1154