do-while loop first executes a block of code once, in every case, then iterates through that block of code as long as a specified condition is true.

$i = 0;
do {
    $i++;
    echo $i;
} while ($i < 10);

Output: `12345678910`

For detailed information, see the Loops topic.