Re: Deprecating uniqid()

From: Date: Thu, 07 May 2020 09:12:52 +0000
Subject: Re: Deprecating uniqid()
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-110065@lists.php.net to get a copy of this message
On Wed, 6 May 2020 at 13:40, Dan Ackroyd <Danack@basereality.com> wrote: > This is a problem that would be better solved in userland rather than > trying to design and evolve inside core PHP. > I think that's a major philosophical question: should the core of a language provide only those most basic building blocks from which everything else can be built; or should it include a standard library of functions for the most common tasks? Obviously, the answer can have many shades of grey, but PHP doesn't generally take the "minimalist" approach. Unless we're actively trying to shrink the functionality of PHP's core, it feels weird to say "this function is deprecated; there is no official replacement, please write your own or find one on Packagist". Is there a specific reason *not* to write a replacement, or do you just consider it not a universal enough requirement to include in the standard library? Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#110065) next »