Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95892 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38718 invoked from network); 10 Sep 2016 08:04:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2016 08:04:36 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 217.147.176.214 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 217.147.176.214 mail4-2.serversure.net Linux 2.6 Received: from [217.147.176.214] ([217.147.176.214:39582] helo=mail4.serversure.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/0E-46544-98EB3D75 for ; Sat, 10 Sep 2016 04:04:35 -0400 Received: (qmail 19198 invoked by uid 89); 10 Sep 2016 08:03:38 -0000 Received: by simscan 1.3.1 ppid: 19192, pid: 19195, t: 0.0712s scanners: attach: 1.3.1 clamav: 0.96/m:52/d:10677 Received: from unknown (HELO ?10.0.0.7?) (lester@rainbowdigitalmedia.org.uk@81.138.11.136) by mail4.serversure.net with ESMTPA; 10 Sep 2016 08:03:38 -0000 To: internals@lists.php.net References: Message-ID: <40026e51-0286-47b2-96af-a449ac70ba54@lsces.co.uk> Date: Sat, 10 Sep 2016 09:03:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Make uniqid() more unique From: lester@lsces.co.uk (Lester Caine) On 10/09/16 04:35, Pierre Joye wrote: > Or uuid. This why this standard exists. I would recommend to move to that > instead of trying to reinvent the wheel. Which is what is provided by most databases and tailored to index efficiently and rather than 'more entropy' they simply add machine unique element for ensuring unique id's across the whole system. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk