PHP 独特 ID 生成器
PHP unique ID generator, based on the Twitter snowflake algorithm
/*
* Get the next unique ID
*/
string atom_next_id()
/*
* Change unique ID to array includes: timestamp, datacenter id and worker id
*/
array atom_explain(string $id)$ cd ./atom
$ phpize
$ ./configure
$ make
$ sudo make install[atom]
atom.datacenter = integer
atom.worker = integer
atom.twepoch = uint64暂无开放 Issues,或尚未同步最近议题。