public static function strcasecmp($str1, $str2)
    {
        $strX = AnHelperString::strtolower($strX);
        $strY = AnHelperString::strtolower($strY);
        return strcmp($strX, $strY);
    }
public static function strcasecmp($str1, $str2)
    {
        $strX = AnHelperString::strtolower($strX);
        $strY = AnHelperString::strtolower($strY);
        return strcmp($strX, $strY);
    }
public static function strcasecmp ( $ str1 , $ str2 ) { $ strX = AnHelperString :: strtolower ( $ strX ) ; $ strY = AnHelperString :: strtolower ( $ strY ) ; return strcmp ( $ strX , $ strY ) ; }
UTF-8 aware alternative to strcasecmp

A case insensivite string comparison

@param string string 1 to compare
@param string string 2 to compare
@return int < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
@see http://www.php.net/strcasecmp
UTF - 8 aware alternative to strcasecmp