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 difference between echo and print statement?

Answer Posted / hari

There is a slight difference between print and echo which
would depend on how you want to use
the outcome. Using the print method can return a true/false
value. This may be helpful during a
script execution of somesort. Echo does not return a value,
but has been considered as a faster
executed command. All this can get into a rather complicated
discussion, so for now, you can
just use whichever one you prefer

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of oops in php?

1003


How do you use end in python?

949


What is the php function that removes the first element of the array and returns it?

930


What is the difference between mysqli_fetch_object() and mysqli_fetch_array()?

982


Does php support multithreading?

975


What is $_ env in php?

952


What is composer json?

850


Which operator is used to concatenate two strings in PHP?

997


How stop the execution of a php scrip?

974


Is php a strongly typed language?

964


How is session id stored in browser?

959


What is a lambda function in php?

1038


What is $_session in php?

945


What are the advantages of object-oriented programming in php?

874


Which php framework is fastest?

940