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 / coder

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

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name some of the popular frameworks in php.

1002


What is rtrim php?

1012


Explain how to execute a php script using command line.

1171


Is empty in php?

966


What does the unset() function means?

1115


What is the difference between apache vs niginx?

1056


What does the arrow mean in php?

1000


What is repository in php?

1008


Do you know how to get the ip address of the client?

1141


How can we submit form without a submit button?

1014


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2043


What is a static variable in php?

1053


What is data structure in php?

1001


How to create an empty array in php?

1096


Why do we need abstract class in php?

959