Re: [RFC] Deprecations for PHP 8.4
| From: | Christoph M. Becker | Date: | Tue, 16 Jul 2024 11:04:51 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.4 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124447@lists.php.net to get a copy of this message | ||
Hi Tim!
On 15.07.2024 at 23:50, Tim Düsterhus wrote:
>> That doesn't mean that I'm against the uniqid() deprecation, especially
>> if the deprecation message is clear on what to use instead.
>
> I will make sure to write useful migration docs, helping users making an
> educated choice for an alternative. Unfortunately is no
> one-size-fits-all solution to the problem of generating an unique string..
See also a respective GH issue regarding deprecation messages:
<https://github.com/php/php-src/issues/14320>;
it probably makes sense
to include an URL in the deprecation message, or maybe some code which
users can use to look up more thorough information about the deprecation.
Cheers,
Christoph