Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php  
$i = 8;
do {
  echo $i;
  $i++;
} while ($i < 6);
?>
<p>As you can see, the code is executed once, even if the condition is never true.</p> 
</body>
</html>
8

As you can see, the code is executed once, even if the condition is never true.