$box) { if($L < ($len + $box)) { echo $i.PHP_EOL; break; } else { $len += $box; } }