What is the Do-While loop in PHP and how does it differ from For and While loops?

The Do-While loop in PHP is similar to the While loop, but it executes the code block at least once before checking the condition. This is useful when you want to ensure that a block of code runs at least once, regardless of the condition. The main difference between the Do-While loop and the For and While loops is that the Do-While loop always executes the code block at least once, whereas the For and While loops may not execute the code block if the initial condition is not met.

<?php
$count = 1;

do {
    echo "Count is: $count <br>";
    $count++;
} while ($count <= 5);
?>