Php str_starts_with verifica se uma string começa com uma determinada substring
<?php
if (str_starts_with('abc', '')) {
echo "All strings start with the empty string";
}
?>
SAMER SAEID