Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness
| From: | Kalle Sommer Nielsen | Date: | Thu, 20 Oct 2016 08:17:37 +0000 |
| Subject: | Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96505@lists.php.net to get a copy of this message | ||
Hi Yasuo
2016-10-20 9:18 GMT+02:00 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> "Do not make assumption for uniqid() output format, entropy
> especially. uniqid() output format may be changed to provide
> reasonably unique ID in future versions."
Sounds reasonable to me; although I would phrase it a little
differently, something along the lines of:
The <function>uniquid</function> cannot be relied on to be unique and
there can occur collisions, even with the
<parameter>more_entrophy</parameter> set to &true;.
As for the in future version, although we may do that, I don't think
we should document something that is not in the core yet. What do you
think?
--
regards,
Kalle Sommer Nielsen
kalle@php.net