substr_compare

PHP 5, PHP 7, PHP 8
substr_compare - Binary safe comparison of two strings from an offset, up to length characters

Example #1 A substr_compare example

PHP Version:


Example #2 of substr_compare

PHP Version:


Function substr_compare:

Strings Functions

Most used PHP functions