PHP While vs Do While June 18, 2012 Pramod T P While is an entry control loop where do while is an exit control loop so Do While loop runs at least once even when the condition is false. Do While executes the condition one time less than While.