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