Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95825 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79522 invoked from network); 9 Sep 2016 08:08:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2016 08:08:42 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:60135] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/4C-61313-70E62D75 for ; Fri, 09 Sep 2016 04:08:41 -0400 Received: (qmail 96073 invoked by uid 89); 9 Sep 2016 08:08:36 -0000 Received: from unknown (HELO mail-qt0-f169.google.com) (yohgaki@ohgaki.net@209.85.216.169) by 0 with ESMTPA; 9 Sep 2016 08:08:36 -0000 Received: by mail-qt0-f169.google.com with SMTP id 11so36717489qtc.0 for ; Fri, 09 Sep 2016 01:08:35 -0700 (PDT) X-Gm-Message-State: AE9vXwNXAQbfTcFbcOBjPocMBUMOq33aMyB1YCjlsphEPtfoj7iLDcy4vSUb/huTC2iBvvwqCNjN6ztD4jQ90w== X-Received: by 10.237.53.157 with SMTP id c29mr2372434qte.75.1473408510207; Fri, 09 Sep 2016 01:08:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.84.168 with HTTP; Fri, 9 Sep 2016 01:07:49 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Sep 2016 17:07:49 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Niklas Keller Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Make uniqid() more unique From: yohgaki@ohgaki.net (Yasuo Ohgaki) On Fri, Sep 9, 2016 at 4:40 PM, Niklas Keller wrote: > I think it's better to leave it as is and deprecate and discourage its use. > There's already a big warning there. Dunno whether there are really valid > use cases for it. uniqid() is handy, when developer would like to sort something by "time" prefix/postfix in strings. For example, prefixed/postfixed session ID by "time". So E_DEPRECATE might be too much. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net