strip_tags
str_pad
str_repeat
文字列を指定した長さに埋めます。
str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = STR_PAD_RIGHT): string