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

Write a program in php to reverse a number?

939


What are the characteristics of php variables?

1007


How to write comment in php?

1107


How do I run a php program in dreamweaver?

982


Suppose we receive a form submitted by a post to subscribe to a newsletter. This form has only one field, an input text field named email. How would we validate whether the field is empty? Print a message "the email cannot be empty" in this case?

1082


What is php used for?

914


Is php good for career?

930


How do I run a php file?

911


Do you know what are traits?

954


Explain $_FILES Superglobal Array?

975


How to remove white spaces from the beginning and/or the end of a string in php?

924


Do you know when sessions ends?

965


What is the use of explode() function?

1012


Why are sessions used?

895


Tell me how do you define a constant?

895