<?php
$minimo = 10;
$maximo = 30;
$numero = $minimo + 1;

while ( $numero < $maximo) {
    echo $numero."\n";
    $numero++;
}
?>