标题:[实践OK]唯一ID的php实现,生成不同样的UID。 出处:向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除 时间:Sat, 01 Feb 2020 23:46:18 +0000 作者:jackxiang 地址:http://jackxiang.com/post/10416/ 内容: Atom扩展: https://github.com/liexusong/atom git clone https://github.com/liexusong/atom.git cd atom/ phpize ./configure make && make install cp -rf /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/atom.so /usr/local/php/ext/. cat /usr/local/php/etc/php.d/atom.ini extension=atom.so [atom] atom.datacenter = integer atom.worker = integer atom.twepoch = uint64 #php atom.php 540899828998078464 2020-02-01 14:22:48 能反解。 来自:https://mp.weixin.qq.com/s/bagOgzdwLyZv_ITNVnYfoQ? Generated by Jackxiang's Bo-blog 2.1.1 Release