Loops are use to execute block of statements repeatedly as long as the while expression evaluates to TRUE.
PHP loop are used to execute the same block of code a specified number of times. PHP supports following four loop types.
PHP supports 3 type of loops:
WE are discussing all above loops in next chapters with there syntax, flowchart, and also examples.
There are some terms use with loops that are breal and continue.
We will discuss about continue and break keywords used to control the loops execution.