strncmp() function is used to compare the first n characters.
Note- This function is case sensitive.
strncmp(str1, str2, len)
##str1− The first string
str2− The second string
len− The number of characters used for comparison.
8192
-32
The above is the detailed content of strncmp() function in PHP. For more information, please follow other related articles on the PHP Chinese website!