PHP Do...While

do-while loops are very similar to while loops, except the truth expression is checked at the end of each iteration instead of in the beginning. The main difference from regular while loops is that the first iteration of a do-while loop is guaranteed to run
<?php 
 $i = 0;
 do
   {
      echo $i;
   } while ($i > 0);
?>

Output:

0