strncmp

PHP 4, PHP 5, PHP 7, PHP 8
strncmp - Binary safe string comparison of the first n characters
Strncmp Online Tool
Manual
Code Examples

Example #1 strncmp example

PHP Version:


Example #2 of strncmp

PHP Version:


Function strncmp:

Strings Functions

Most used PHP functions