On Fri, Nov 3, 2023 at 6:49 PM <dan...@daniil.it> wrote: added in php 8.3,
that's why I couldn't find it in the docs :)

>
> Respectfully, I will still be editing the deprecations RFC anyway to see
> if the voting passes.
>
>
Hmm, didn't you say this previously:

> The main reason I would like to see this deprecated is not the fact that
> it's returning a less precise value compared to getrusage, but rather
> because it's returning a value that cannot be interpreted in any way
> from pure PHP.

So if the constant is added, which is trivial, then the only reason left is
that it's returning slightly less precise value and maybe slightly harder
way to interpret it, right? If so, then I don't think this is enough to
break BC. It would be much better done using documentation where we should
also add a note about the new constant.

We should really realise that any deprecation and its subsequent change in
major version can have impact on users and adoption of new PHP versions.
There should always be a very good reason to do deprecate something.

Cheers

Jakub

Reply via email to