Php str_ends_with sprawdza, czy ciąg kończy się na podanym podłoże

<?php
if (str_ends_with('abc', '')) {
    echo "All strings end with the empty string";
}
?>
SAMER SAEID