for ($i = 1) ($i <= 5) ($i = $i+1) for ($j = 0) ($j < $i) ($j = $j+1) print "*" end for println end for