Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96505 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32289 invoked from network); 20 Oct 2016 08:17:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Oct 2016 08:17:41 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.53 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.214.53 mail-it0-f53.google.com Received: from [209.85.214.53] ([209.85.214.53:35467] helo=mail-it0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/51-24564-4AD78085 for ; Thu, 20 Oct 2016 04:17:40 -0400 Received: by mail-it0-f53.google.com with SMTP id 4so159203554itv.0 for ; Thu, 20 Oct 2016 01:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=8DU5EXaO3/MLjYS7jclRpLXKzmAY1lnIYH6W8YYDlwM=; b=MpoGb2sEBra1xZhz6XayD4OpuagManDu0YGu+hKAVPJIcBZ+EnpaPZtyWl7401KQFR POcycP0kPxRq2ZxJdWy52KcYkYyKums7cd7wKJy5UYYDrZmbFhT/SW4JQJE4DizLrwb/ urqstlCP4RdTKpw036cl1CLBnAKSB2rqhMGd2C998QSqgsJZBzq5P0HuybjZU4Ax6a2y cOs9mqNTNSoQyJdh7bOtKHJSprVG0cWrGpQKW/TJg4vWW/0pw6m2L1DZtJ0GwJsThqRT qHg1wtEeQIT23/RcGLgmnnxr0I+/JdKz676OzFinvJHXwWtdIaHfEcOWCd1i/rTk8d0h rR1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8DU5EXaO3/MLjYS7jclRpLXKzmAY1lnIYH6W8YYDlwM=; b=WSKOFZqzdKI3ktFRy0SLWGA3quadCe7PyVv/Tb03xBlN6KlJWVVhL3uBceXdFUYdYu MAVvF6sNF5nPxrTkmjAzwMtARh+KVUYZVElu+iwACbD9+UHHVYZyNGl6Dfe6Z+dOK/yv WMZAcC3iy6FPMc+sFZuEuYexYc+ubWbLcnZ6Kwbg1vzSwVRe63kLy9LGGFmONYrY1dyd J8FMs463R9xmsR2k5bZrMcO9XI0ZdBX0QIet5/M3BywN8RtCDdS0Pr7GjK1CybKM7hS2 MR0MtpTW1zQ2SMJHoKxCMmS/h1vPdSroqkVRjNci6i/MluCQ0fMo7Bc+otNzJ9VHWkAq 56Tw== X-Gm-Message-State: AA6/9RkTFILlpYYmMtWee1DnprJ9+jPBZl8OXyMateJeiVKZoJ93fJfthhGjyzD2EhBgZCKcFFb/rkWzDiHc4Q== X-Received: by 10.36.44.144 with SMTP id i138mr7085772iti.98.1476951457878; Thu, 20 Oct 2016 01:17:37 -0700 (PDT) MIME-Version: 1.0 Sender: kalle.php@gmail.com Received: by 10.107.19.233 with HTTP; Thu, 20 Oct 2016 01:17:37 -0700 (PDT) In-Reply-To: References: <070001d2295e$76b7d730$64278590$@belski.net> <075a01d22993$9efc6c80$dcf54580$@belski.net> <088801d229fa$d7320cb0$85962610$@belski.net> Date: Thu, 20 Oct 2016 10:17:37 +0200 X-Google-Sender-Auth: qnTbUpFJqPbwuCEraUykBzkFn1Q Message-ID: To: Yasuo Ohgaki Cc: Anatol Belski , Joe Watkins , Niklas Keller , Leigh , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] Improve uniqid() uniqueness From: kalle@php.net (Kalle Sommer Nielsen) Hi Yasuo 2016-10-20 9:18 GMT+02:00 Yasuo Ohgaki : > "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 uniquid cannot be relied on to be unique and there can occur collisions, even with the more_entrophy 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