PHP Loops

Loops are used to execute the same block of code again and again, as long as a certain condition is true. In PHP, we have the following loop types while loop, Do while loop, for loop, Foreach loop and break/continue