do_while.php do with while php source code $i = 0; do { $i++; } while( $i < 10 ); echo("Loop stopped at i = $i \n"); echo("not in loop, do_while.php finished \n"); Loop stopped at i = 10 not in loop, do_while.php finished