endsWith()
endsWith(string $haystack, string $needle) : boolean
Ends the given string $haystack with the string $needle?
Parameters
string |
$haystack |
|
string |
$needle |
|
Returns
boolean
— true, if the parameter $haystack ends with the character sequences $needle, false otherwise