PHP문자열str_ends_with

str_ends_with문자열

문자열이 지정 접미사로 끝나는지 확인합니다. (PHP 8+)

문법

str_ends_with(string $haystack, string $needle): bool