str_contains
webmozart/glob
Supported Versions: PHP 8
Determine if a string contains a given substring
<?php str_contains
(
string $haystack
,
string $needle
):
bool