while (not $error and $a < $b) { $a++; } #### do { while ($a < $b) { $a++; } } if (not $error); #### do { $a++ while ($a < $b); } if (not $error);