PHP provides four kinds of loop control statements, namely while, do while, for, and foreach. This section only explains the for loop. For the other three loops, please click the following link to learn: PHP while and do while loops PHP foreach loops Structure of the PHP for loop syntax