strcasecmp() function operates like strcmp(), except that its comparison is case insensitive.
Its syntax is: int strcasecmp (string string1, string string2) <? $string1 = "butter"; $string2 = "Butter"; if ((strcasecmp($string1, $string2)) == 0) : print "Strings are equivalent!"; endif; ?>