Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128035 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 E3D041A00BC for ; Mon, 14 Jul 2025 13:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752498345; bh=5kUEdkSGniDRIh5EamRxwHQkYKSWBvOsf6HXUFJ+PXY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VZOKko+Y5yQUoUlP6HW1nvoWXxz3faBPdAx3DxBL+UBSYO9Xv8I2RPjQx+ResE2OD o6qqe3vfOOlyNXrdiHogivaXJbSLOdLZi6I6O2PMpKgog/Z+7CquKk8b9kGuUJwCh9 kzDFSF1aMEsJXHRNBqoU21DymhN4uyZqEmEeCNmvRoDkqpkuXrYf4tjiuwjC+SsT4h DoyrWua9VQo0vaIdkUmtlAgIR0QMzG1XfCneR5hlFatOYtsf3GmlxuS6+uzBMcr3/N ppVdUhxHkRyPZr1qJoIrrb2KYsfqySzaBxELx1gUDtPSWA4+pJD3fIt0lZxAmpMW5n 7Tgj3Xq7zAIIQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 807351801DE for ; Mon, 14 Jul 2025 13:05:44 +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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS 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 chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 ; Mon, 14 Jul 2025 13:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1752498451; bh=WJog48c0UlvdhZmR90Kg5osoR0bWr+pW4HX+FD/JiaI=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=O+smLsdLqmkjLEl3WKfcP73kmHMVSyNNNXecWSFWw4tzxi6FXf8tKoiU6i2KTn9Yg +PRQilnouSWugdCBoPuSD48kuosbcCgPxWOzzabsrCFTBXFp4ua9xjV9R3GeyAQVXy lHt538gHYeofGZ4LyavO1XYC6yK9UBDzG2HB78qAP1aqo2ANyveENO+AJ8AgiEdzuj G/QBAYA2PR+a4ZuHLMt8lKzSghOeBEECDCNa5yH+Ihz/wJE6/vIFhzMHZsk4d4aeNv 8A3Jt7O9b2wv6hepflCKUK+L3X0BPdzIe13xnX0K919oZBQ4FhpIFQmg9qoCFKNrGF w1DiXxn9TdxPw== Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 14 Jul 2025 15:07:31 +0200 To: "Christoph M. Becker" Cc: Bob Weinand , internals@lists.php.net Subject: Re: [PHP-DEV] [RFC] Deprecations for PHP 8.5 In-Reply-To: <4db1a764-9271-4134-b16d-74c9f4743e8d@gmx.de> References: <0b5a9e16-9b1e-400f-a092-eb5937a8c823@bastelstu.be> <18f4505f-774a-4ad7-be9f-6cde3de89275@gmx.de> <4db1a764-9271-4134-b16d-74c9f4743e8d@gmx.de> Message-ID: <0a857839a5954d44ef1fd81f7b38fad4@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-07-10 15:00, schrieb Christoph M. Becker: >> Each 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). 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üsterhus