strpbrk
spatie/fork
Supported Versions: PHP 5, PHP 7, PHP 8
Search a string for any of a set of characters
<?php strpbrk
(
string $string
,
string $characters
):
string
|
false