str_ends_with 文字列が、指定された文字列で終わるかを調べる。 &reftitle.description; boolstr_ends_with stringhaystack stringneedle haystackneedle で終わるかを調べます。 大文字小文字は区別されます。 &reftitle.parameters; haystack 検索対象の文字列。 needle haystack で調べる部分文字列 &reftitle.returnvalues; haystackneedle で終わる場合、&true; を返します。 そうでない場合、&false; を返します。 &reftitle.examples; 空文字列 <literal>''</literal> を使う場合 ]]> &example.outputs; 大文字小文字の区別 ]]> &example.outputs; &reftitle.notes; ¬e.bin-safe; &reftitle.seealso; str_contains str_starts_with stripos strrpos strripos strstr strpbrk substr preg_match