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

Is php still relevant 2019?

1010


what is constructor

1660


What is php how it works?

1061


What is api laravel?

1155


What is is_null() in php?

1113


Write a program using while loop?

1081


Do csrf tokens expire?

1050


Is php an object or array?

1008


What does empty mean in php?

1050


Can you explain, when to use if-else if-else over switch statements?

1057


how can i develop forum code? any one pleale help me on this question

1984


What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

981


What is the use of preg_match in php?

1041


What is csrf verification?

1112


Tell me how do I check if a given variable is empty?

1011