Re: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness

From: Date: Thu, 20 Oct 2016 10:12:10 +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-96512@lists.php.net to get a copy of this message
On Thu, Oct 20, 2016 at 4:44 PM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote: > Application requires unique ID under across multi process/thread > tasks, it will have more chance to have collided unique ID. uniqid fill(s|ed) some needs or maybe still fits for some. However for modern application with many concurrent requests or nodes, it does not fit anymore, since long. Do we need to fix a broken hammer to fix the screw? I do not think so. I suggested already to simply improve it if we can do it without breaking BC and recommend to use something designed for such tasks, UUID. ramsey/uuid is one of them, other are available. Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#96512) next »