> In Do..while loop we first do initialization of variable,after that we write the statements to be executed and finally at the end we checks for the condition.
> The only difference between while loop and do..while loop is, in while loop if condition is not satisfied it will do nothing.But in do..while loop at least one time the statement block is executed because here we always write the condition at last.
> Do..while loop syntax.
> Let's see an example of Do..While loop
$i = 1; //initialization
echo $i.'.Probability'; //do this
$i++; // increment/decrement
} while ($i <= 10) // condition