$i = 11;
do {
print "Number $i\n";
} while ($i < 10);
?>
Same code could be written using a while loop:
$i = 11;
while ($i < 10) {
print "Number $i\n";
}
?>