PHP str_ends_With überprüft, ob eine Zeichenfolge mit einem bestimmten Substring endet

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