Re: [RFC] Deprecations for PHP 8.5
| From: | Tim Düsterhus | Date: | Mon, 14 Jul 2025 13:07:31 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128035@lists.php.net to get a copy of this message | ||
Hi
Am 2025-07-10 15:00, schrieb Christoph M. Becker:
In practice this kind of software already needs to check the PHP version and newer PHP versions need to be allow-listed, since newer PHP versions might introduce breaking changes that do not go through the deprecation process (some of them might not even be considered a breaking change, e.g. the introduction of a new class or function). This kind of breaking change would provide even less of a “heads up” compared to a Deprecation. One of those that affected myself was https://wiki.php.net/rfc/static_variable_inheritance. Best regards Tim DüsterhusEach PHP version is supported for 4 years by the PHP project [1], thus giving folks at least 4 years to handle each deprecation until they are forced to upgrade to a supported PHP version.That point is moot for a lot of software where the developers are not necessarily in control of which PHP version is used (e.g. WordPress).