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

1.What are the difference between echo , print , print_r ?
else this 3 can we show output to a client in some other
way?

Answer Posted / dheeraj

echo is not a function, but a statement which outputs one or
more strings, it cannot display the array contents where as
the print() and print_r() are functions. print() can even
display the array contents as an array . print_r() Prints
human-readable information about a
variable

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is escape data in php?

900


What kind of things have you done on the social side?

8966


Is php a web server?

942


How is csrf token generated?

934


What is a query in a database?

974


Tell me whether it is possible to share a single instance of a memcache between multiple php projects?

927


Explain the difference between urlencode and urldecode?

994


What are regular expressions in programming?

848


What are the benefits of composer?

965


What is class extend in php?

976


Explain about PHP filter and why it should be used?

883


Tell me what's the difference between include and require?

933


Why sessions are used in php?

902


Why do we use query?

877


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

1026