Re: [RFC] Make uniqid() more unique
| From: | Yasuo Ohgaki | Date: | Fri, 09 Sep 2016 08:07:49 +0000 |
| Subject: | Re: [RFC] Make uniqid() more unique | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95825@lists.php.net to get a copy of this message | ||
On Fri, Sep 9, 2016 at 4:40 PM, Niklas Keller <me@kelunik.com> 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