public static function endsWith($str, $find, $match_case = true)
    {
        if (!$match_case) {
            $str  = self::toLower($str);
            $find = self::toLower($find);
        }
        if (self::$use_mbstring) {
            $len = mb_strlen($find);
            $is_ends = mb_substr($str, "-{$len}") === $find;
        } else {
            $len = strlen($find);
            $is_ends = substr($str, "-{$len}") === $find;
        }
        
        return $is_ends;
    }