Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127884 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by lists.php.net (Postfix) with ESMTPS id 1C2991A00BC for ; Fri, 4 Jul 2025 21:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751665836; bh=Ww9kAHE12uS9y5z2Z0gKyLIJQWazAbBHhxWMxIRlzV0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hOoEA4YG95hCEefXnrul3zk/Ai7Tsk7sgVUH75rxkNLVXHs1wfIs1fpWeA8DKwGp/ DAe6q67VeAGrAtGmTtG6yZLG3npKHBuL4oRYtj4wMr8/rw7guHM5rgNBpRFhNiTJiC ZRNlc5n8liMaSfYhlzIj1tUUzax4NHdRfOBdERg3I/oXJ/m6ihpVMcpoMG3bAkj4kN uEts8LOrE2fROhy0GM9xmP6bELUv4MZWoypyimiV22vuM5X9EAqV1h11x4jRlRvH/U VazP1hHLdVP816z5JjetHH38IlLj5S53qPBLBesT7GJ7KpC1ZAAEixCd4kMFbv9mpo Z/lg95c3hVoJw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2B9A9180510 for ; Fri, 4 Jul 2025 21:50:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: **** X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_50,DMARC_NONE, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from 17.mo561.mail-out.ovh.net (17.mo561.mail-out.ovh.net [87.98.178.58]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 4 Jul 2025 21:50:33 +0000 (UTC) Received: from director3.ghost.mail-out.ovh.net (unknown [10.110.37.140]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4bYnRW0XZ5z5xgL for ; Fri, 4 Jul 2025 21:52:22 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-48h89 (unknown [10.110.188.76]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 867C5C04EF for ; Fri, 4 Jul 2025 21:52:22 +0000 (UTC) Received: from php.earth ([37.59.142.95]) by ghost-submission-5b5ff79f4f-48h89 with ESMTPSA id HKMMAxZNaGgcsSMAozOaYA (envelope-from ) for ; Fri, 04 Jul 2025 21:52:22 +0000 Authentication-Results:garm.ovh; auth=pass (GARM-95G00187138306-3d94-437f-bd10-dbfa38fc5945, C514E83F51026E7758872EBF6B4173E44BEE7244) smtp.auth=peter.kokot@php.earth X-OVh-ClientIp:209.85.221.176 Received: by mail-vk1-f176.google.com with SMTP id 71dfb90a1353d-531a1d5519aso410562e0c.3 for ; Fri, 04 Jul 2025 14:52:22 -0700 (PDT) X-Gm-Message-State: AOJu0YzmHVhN0kMHFkMYDFTu0Pr0XQ4kTAmZRaQF7UbZFnv3niA58opk jI/4iQEv8QoV8mhNWNzTwLQwRbEMmcwqYFLJ1geRw1bH+YCQb0QDbxOeyvfNjEITIEIX5CMROw2 lix0dbxYbDo7UyPMG05OMJS8C7Fk7cBA= X-Google-Smtp-Source: AGHT+IFmBsG/8utGOXOcaZ8OK+01sLfCG+51O5W09mdyHKbFRCIjzxOYHSAu83X+/WwlrTM87umWVVFbTjkQI5WU0CY= X-Received: by 2002:a05:6122:a0e:b0:530:7ab8:49ab with SMTP id 71dfb90a1353d-5347dee2b2dmr2772368e0c.0.1751665941169; Fri, 04 Jul 2025 14:52:21 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 4 Jul 2025 23:52:10 +0200 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXzCft6tw4PpMoU7yZD4oGBJIXx6kpWB6L6JSquzHvVDS8bs_aORt2MValg Message-ID: Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 To: "Gina P. Banyard" Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000304ca906392182a6" X-Ovh-Tracer-Id: 5554627193612853766 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvgedvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeggfhgjhfffkffuvfevtgesrgdtreertddtjeenucfhrhhomheprfgvthgvrhcumfhokhhothcuoehpvghtkhesphhhphdrnhgvtheqnecuggftrfgrthhtvghrnheptddvieeugeevkeehvefhgedvjeekvedvvddujeevhedtkeeuvdegfefghfeifefhnecuffhomhgrihhnpehphhhprdhnvghtpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpvddtledrkeehrddvvddurddujeeipdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepphgvthhksehphhhprdhnvghtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvthdpoffvtefjohhsthepmhhoheeiudgmpdhmohguvgepshhmthhpohhuth From: petk@php.net (Peter Kokot) --000000000000304ca906392182a6 Content-Type: text/plain; charset="UTF-8" On Wed, 2 Jul 2025 at 22:40, Gina P. Banyard 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 --000000000000304ca906392182a6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 2 Jul 2025 at 22:40, Gina P. Banyard = <internals@gpb.moe> wrote:
Hello internals,

It is this time of year again where we proposed a list of deprecations to a= dd 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 de= precating building ext/readline with the Readline library and
ext/dba wi= th 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, maki= ng it impractical for any server
environment beyond a local testing proj= ect. This issue isn't immediately
obvious, but many packagers need t= o be aware of it and avoid building with these
libraries.

ext/rea= dline works fine with the Editline library as an alternative,
ext/dba wo= rks 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 ha= ndled.

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<= br>
--000000000000304ca906392182a6--