> Le 25 juin 2024 à 16:36, Gina P. Banyard <[email protected]> a écrit :
>
> Hello internals,
>
> It is this time of year again where we proposed a list of deprecations to add in PHP 8.4:
>
> https://wiki.php.net/rfc/deprecations_php_8_4
>
Hi,
* For each deprecation, it would be nice to provide explicitly the text of the deprecation notice so
that we can guarantee that it will be helpful for users, see https://github.com/php/php-src/issues/14320
* I don’t see the point of deprecating DOMImplementation::getFeature() instead of just removing
it? “DOMImplementation::getFeature() is deprecated, throw manually an Error exception instead.”
* About strtok(): An exact replacement of strtok()
that is reasonably performant may be
constructed with a sequence of strspn(...) and strcspn(...) calls; here is an implementation using a
generator in order to keep the state: https://3v4l.org/926tC
—Claude