Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16126 invoked from network); 8 Feb 2014 22:20:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Feb 2014 22:20:20 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qa0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:54352] helo=mail-qa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/70-12906-2ADA6F25 for ; Sat, 08 Feb 2014 17:20:19 -0500 Received: by mail-qa0-f42.google.com with SMTP id k4so7511385qaq.15 for ; Sat, 08 Feb 2014 14:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=g+xhgmXSP5V8Ud+gmVH/Fx9IojRBWpFTA/UugTIWduo=; b=zkC9d9mKnkFI6WXDUFHeZs8ChckQ7HxLH5ezl1F63eNi1cq75Vr2B4pGpF396TEWPk iEpiaDzW3NYo43VTcfAWHSwb7qCF/ixIwNpu2fOTXUpll7YxrbgpBt6m3ZfxAZEmb8zK hfPp39e99aNPHh+CHV2iORSF8KO9vufXqI3EV4hk/Gqq+NAw06mMbWSQ6o4ewOboYBtR 4pBUsuVS7swaufjmnzBJTL6oCqZ8qthg5YDl0EGzaebhJtcyQx9qrbSgvI+HCxxRIoL2 p4iyMYw9tHqt4RyJp68gxK1MMssYZkEB2m1bHrlsmcYWBoLQwBl7oJcjNcoa1XusU93s V8eA== MIME-Version: 1.0 X-Received: by 10.140.31.75 with SMTP id e69mr32756503qge.76.1391898016168; Sat, 08 Feb 2014 14:20:16 -0800 (PST) Received: by 10.140.18.145 with HTTP; Sat, 8 Feb 2014 14:20:16 -0800 (PST) In-Reply-To: References: Date: Sat, 8 Feb 2014 23:20:16 +0100 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: uniqid() is not unique under windows From: pierre.php@gmail.com (Pierre Joye) On Sat, Feb 8, 2014 at 10:14 PM, Yasuo Ohgaki wrote: > Hi Pierre, > > Why is uniqid() is not guarantee uniqueness under windows? > > https://bugs.php.net/bug.php?id=65626 > > It seems PHP_WIN32 and __CYGWIN__ check is obsolete. > Could it be removed? Not sure, we have to test to see if it is necessary. But for cygwin, we do not support it so I won't do any testing with it. Cheers, -- Pierre @pierrejoye | http://www.libgd.org