Re: [RFC][DISCUSSION] Improve uniqid() uniqueness

From: Date: Mon, 12 Sep 2016 14:46:32 +0000
Subject: Re: [RFC][DISCUSSION] Improve uniqid() uniqueness
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-95947@lists.php.net to get a copy of this message
Hi, >> IMO, improving it (generate better semi-unique ID) is not important >> enoungh to introduce unnecessary BC break. (Why returning string length >> is changed?) > > It cannot not produce unique ID by default as name "uniqid()" implies. > Reason is described in the RFC. Please read RFC because it's the > official proposal. I had read it, of course. But I could not understand why you chose BC break way. Now, I understand your intention to change default value of "more_entropy" despite of BC break. You do want to change the default behavior of uniqid. But I cannot agree. -- Kazuo Oishi

« previous php.internals (#95947) next »