Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/vendor/azjezz/psl/src/Psl/Str/Byte/pad_right.php
Назад
<?php declare(strict_types=1); namespace Psl\Str\Byte; use function str_pad; use const STR_PAD_RIGHT; /** * Returns the string padded to the total length by appending the `$pad_string` * to the right. * * If the length of the input string plus the pad string exceeds the total * length, the pad string will be truncated. If the total length is less than or * equal to the length of the input string, no padding will occur. * * @param non-empty-string $pad_string * @param int<0, max> $total_length * * @pure */ function pad_right(string $string, int $total_length, string $pad_string = ' '): string { return str_pad($string, $total_length, $pad_string, STR_PAD_RIGHT); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка