The strncasecmp() function (case-insensitive) used for compares two strings.
Syntax
strncasecmp (string1,string2,length)
Example
echo strncasecmp("Hello Dear!","hello dear!",3);
Output
0
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.