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

What is the Diff. Between echo() and Print() in PHP?

Answer Posted / ramesh kumar jayaraman

In Php echo is a statement..it doesn't return any
value...And It is faster
because it does not return any value, but print which
always returns 1 and 0.

The print acts like a function and it can be used in complex
expressions.

but echo can not be used in this way.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the functions of string?

990


What is putenv?

1009


How to add 301 redirects in PHP?

902


What is the difference between pop3 IMAP and MAPI?

1066


Difference between get and post method.

1002


What is the use of "enctype" attribute in a html form?

1040


What the use of var_dump()?

1044


What is php used for?

959


How to track no of user logged in?

1019


What are different types of Print Functions available in PHP?

974


What are sql functions?

953


How can we check the value of a given variable is a number?

1083


Which is the best web server?

965


Tell me what does the initials of php stand for?

966


What is the difference between rest and soap?

1144