The strcasecmp() function (case-insensitive) used for string comparison.
Syntax
strcasecmp(string1,string2)
Example
echo strcasecmp("Hello dear!","HELLO Dear!");
Output
0 (means both string are equal)
Copyright ©2022 coderraj.com. All Rights Reserved.