Re: Request #65501 uniqid(): More entropy parameter should be true by default
On Thu, Aug 22, 2013 at 12:58 PM, Yasuo Ohgaki <[email protected]> wrote:
> Hi all,
>
> I realized that not many users are using "more entropy" parameter
> Therefore, I made
>
> Request #65501 uniqid(): More entropy parameter should be true by default
> https://bugs.php.net/bug.php?id=65501
>
> The comment title explains what this FR is.
>
> Any comments?
>
I don't really have an opinion on this, but one comment:
With more_entropy=false the uniqid() function is *horribly* slow on unix
system (because it does a usleep). Setting more_entropy=true usually makes
the call a few orders of magnitude faster. So that might be another
advantage to enable by default ;)
Nikita
Thread (19 messages)