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