The strcmp() function (case-sensitive) used for string comparison.
Syntax
strcmp(string1,string2)
Example
echo strcmp("Hello dear!","Hello dear!");
Output
0 (means both string are equal)
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.