Php While

The while loop will be executed consecutive if the condition is true.

Code:

Result: 0, 1, 2, 3, 4,