do {
code to be executed;
} while (condition is true);
For instance:
$x = 1;
do {
echo "The number is: $x \n";
$x++;
} while ($x <= 2);
/* outputs The number is: 1
The number is: 2 */
$x = 10;
do {
echo "The number is: $x \n";
$x++;
} while ($x <= 2);
// outputs The number is: 10