do while Loop

The do...while loop - Loops through a block of code once, and then repeats the loop as long as the specified condition is true.

The do...while loop will always execute the block of code at least once, it will then check the condition, and repeat the loop while the specified condition is true.

12345

Set $i = 8, then print $i as long as $i is less than 6:

8