foreach(range(1, 30) as $i) {
print $i;
}