Php str_ends_with vérifie si une chaîne se termine avec une sous-chaîne donnée
<?php
if (str_ends_with('abc', '')) {
echo "All strings end with the empty string";
}
?>
SAMER SAEID