uniqid
uniqid
(PHP 4, PHP 5, PHP 7)
uniqid — Generate a unique ID
Description
string uniqid ([ string $prefix = "" [, bool $more_entropy = false ]] )
Gets a prefixed unique identifier based on the current time in microseconds.
Caution
This function does not generate cryptographically secure values, and should not be used for cryptographic purposes. If you need a cryptographically secure value, consider using random_int(), 登录查看完整内容