On Wed, 2 Jul 2025 at 22:40, Gina P. Banyard <intern...@gpb.moe> wrote:
> Hello internals, > > It is this time of year again where we proposed a list of deprecations to > add in PHP 8.5: > > https://wiki.php.net/rfc/deprecations_php_8_5 > > As a reminder, this list has been compiled over the course of the past > year by various different people. > > And as usual, each deprecation will be voted in isolation. > > We still have a bit of time buffer, so if anyone else has any suggestions, > they are free to add them to the RFC. > > Some should be non-controversial, others a bit more. > If such, they might warrant their own dedicated RFC, or be dropped from > the proposal altogether. > > Best regards, > > Gina P. Banyard > I'd also suggest deprecating building ext/readline with the Readline library and ext/dba with the GDBM library. These two libraries are released under the GPL-3 license, which is not compatible with PHP. In practice this means that PHP linked with GPL-3-licensed software should not be distributed, making it impractical for any server environment beyond a local testing project. This issue isn't immediately obvious, but many packagers need to be aware of it and avoid building with these libraries. ext/readline works fine with the Editline library as an alternative, ext/dba works fine with other handlers. This suggestion would otherwise delay resolving the issue, as it would require an RFC vote - something I hoped to avoid in pull requests. But I suppose that's how it has to be handled. See also: - https://github.com/php/php-src/issues/15882 - https://github.com/php/php-src/issues/16826 - https://www.php.net/license/contrib-guidelines-code.php