PHP文字列str_repeat
str_pad

str_repeat文字列

ucfirst

文字列をn回繰り返します。

構文

str_repeat(string $string, int $times): string