<?php

$x = 1;
do{
    echo"The number is: $x<br/>";
    $x++;
}while($x <= 5);

/*Exibirá
The number is: 1
The number is: 2
The number is: 3
The number is: 4
The number is: 5*/ 

//Outro Exemplo

/*$x = 1;
do{
    echo"The number is: $x<br/>";
    $x++;
}while($x = 5);*/
?>