A significant advantage of computers is that they can perform repetitive tasks easily and efficiently. Instead of writing repetitive code you can write a set of statements that processes some data and then have the computer execute them repeatedly by using a construct known as a loop. Loops come in several different flavors in PHP: for , while , do-while , and foreach .
Read the article:
PHPMaster: Learning Loops
- 1 Sculpin Extended: Customizing Your Static Site Blog
- 2 How to Build a Twitter Follower-Farmer Detection App with RestDB
- 4 Sourcehunt 2016.8 - Contribute to Regression, Regex, ORMs, and More