芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/vendor/azjezz/psl/src/Psl/Str/wrap.php
= $width) { /** @psalm-suppress InvalidArgument - length is positive */ $result .= slice($string, $last_start, $length, $encoding) . $break; $last_start = $current + 1; } $last_space = $current; continue; } if (($length = $current - $last_start) >= $width && $cut && $last_start >= $last_space) { /** @psalm-suppress InvalidArgument - length is positive */ $result .= slice($string, $last_start, $length, $encoding) . $break; $last_start = $last_space = $current; continue; } if ($current - $last_start >= $width && $last_start < $last_space) { /** @psalm-suppress InvalidArgument - length is positive */ $result .= slice($string, $last_start, $last_space - $last_start, $encoding) . $break; $last_start = ++$last_space; } } if ($last_start !== $current) { /** @psalm-suppress InvalidArgument - length is positive */ $result .= slice($string, $last_start, $current - $last_start, $encoding); } return $result; }