Source Code : strcmp() function performs a case-sensitive comparison of two strings.
PHP Is Open Source Programming Language You Can Download and use It, You required xampp server and wamp server . You download From xampp server from https://www.apachefriends.org/download.html.
Click Here to download
We provide this code related to title for you to solve your developing problem easily. Libraries which is import in this program you can download from http://php.net/.
Click Here or search from google with Libraries Name you get jar file related it and also http://php.net/ is a official site
strcmp() function performs a case-sensitive comparison of two strings.
Its syntax follows: int strcmp (string string1, string string2)
strcmp() returns one of three possible values:
0 if string1 and string2 are equal
< 0 if string1 is less than string2
> 0 if string2 is less than string1
<?
$string1 = "butter";
$string2 = "butter";
if ((strcmp($string1, $string2)) == 0) :
print "Strings are equivalent!";
endif;
?>
Thank with us