loop
.PHP While loop can be of different categories like
Compiler only checks the condition is true or false.The While loop executes the statement only when the expression becomes True. After the statement is executed, it will once again evaluate the expression and repeat as needed.