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