Re: [RFC] [Discussion] PHP 8.3 deprecations
| From: | Rowan Tommins | Date: | Thu, 15 Jun 2023 11:46:08 +0000 |
| Subject: | Re: [RFC] [Discussion] PHP 8.3 deprecations | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120585@lists.php.net to get a copy of this message | ||
On Thu, 15 Jun 2023 at 08:19, Máté Kocsis <kocsismate90@gmail.com> wrote:
> As there was no discussion and complaint for a long time, we would like to
> move forward with the RFC. We believe Go and Tim answered Nikita's doubts
> elaborately, so we should make the question decided during the vote.
>
While I agree with the logic of deprecating mt_rand() in general, I do
think it's too early to do so in 8.3. The Random extension is very new, and
still isn't fully documented in the official manual (e.g.
https://www.php.net/manual/en/random.examples.php
is a blank placeholder)
let alone in third-party tutorials. I think there should be a "soft
deprecation" period where we improve the guidance around which methods to
use in which cases, and allow for some "organic" migration before raising
notices for such a commonly used function.
If the RFC stays as is, I will cast a No vote on that question, but I
thought I'd raise the concerns early to avoid surprise.
Regards,
--
Rowan Tommins
[IMSoP]