str_starts_with
str_ends_with
str_replace
文字列が指定したサフィックスで終わるか確認します。(PHP 8+)
str_ends_with(string $haystack, string $needle): bool