substr_compare
Supported Versions: PHP 5, PHP 7, PHP 8
Binary safe comparison of two strings from an offset, up to length characters
substr_compare
(
string $haystack
,
string $needle
,
int $offset
,
?
int $length
=
null
,
bool $case_insensitive
=
false
):
int