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 diffrence between for and foreach?

Answer Posted / ks.tarun

FOR loop will continue until some condition fails, but in
case of foreach loop will work until all item are processed.

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules to determine the “truth” of any value which is not already of the boolean type?

901


Explain me what is the use of header() function in php?

988


What is the difference between include and require?

940


What software is required to run php?

939


How do I escape data before storing it in the database?

941


How is a constant defined in a PHP script?

967


Can php run without server?

988


Explain what does the unset() function means?

1048


Explain how to run the interactive php shell from the command line interface?

1014


Tell me what is the use of isset() in php?

997


Is php the same as html?

887


Is php strongly typed?

996


What is use of mysqli_query in php?

905


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

1002


Explain scalar type declarations in php7?

909