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