[PHP-DEV] Re: [RFC] Make uniqid() more unique

2016-09-09 Thread Yasuo Ohgaki
Hi all, On Sat, Sep 10, 2016 at 5:49 AM, Yasuo Ohgaki wrote: > On Fri, Sep 9, 2016 at 10:56 PM, Christoph M. Becker > wrote: >>> We all know, uniqid() is not unique at all and not safe as random ID >>> at all. This would be one of the most misused function because of its >>> name. >> >> uniqid(

[PHP-DEV] Re: [RFC] Make uniqid() more unique

2016-09-09 Thread Yasuo Ohgaki
Hi Christoph, On Fri, Sep 9, 2016 at 10:56 PM, Christoph M. Becker wrote: >> We all know, uniqid() is not unique at all and not safe as random ID >> at all. This would be one of the most misused function because of its >> name. > > uniqid() yields truly unique values for a single machine (except

[PHP-DEV] Re: [RFC] Make uniqid() more unique

2016-09-09 Thread Christoph M. Becker
On 09.09.2016 at 07:12, Yasuo Ohgaki wrote: > We all know, uniqid() is not unique at all and not safe as random ID > at all. This would be one of the most misused function because of its > name. uniqid() yields truly unique values for a single machine (except for CYGWIN, and potentially older Win

[PHP-DEV] Re: [RFC] Make uniqid() more unique

2016-09-09 Thread Yasuo Ohgaki
Hi all, On Fri, Sep 9, 2016 at 2:12 PM, Yasuo Ohgaki wrote: > We all know, uniqid() is not unique at all and not safe as random ID > at all. This would be one of the most misused function because of its > name. > > https://github.com/php/php-src/blob/master/ext/standard/uniqid.c#L44 > > Bug repor