其实后面那串为分享id转字符串,原始数据可能为 :1091566355946 ,通过特定算法转换为了更短的字符串
实现代码为:
<?...public const intMax = 9223372036854775668;
private const alphabet = [
'A','a','B','b','C'...,'c','D','d','E', 'e',
'F','f','G','g','H','h','I','i','J','j',
'K','k','L','l','M','...));
}
}
return $alpha;
}
public static function toNum($string):int