Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128469 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 C556E1A00BC for ; Wed, 13 Aug 2025 22:21:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1755123576; bh=3y0poqFiXGG5HkQGRv4EAgwFclJotCSQQ7mfI3GYM90=; h=From:To:Subject:Date:References:In-Reply-To:From; b=Bi7a3k10yZxsCOJC9+07hQiRMPBhK+SVBd3to/iQat6oL/B0jtsh4N/fiQM4MpwEb duuLBUQswiUJytHbh2zC9gFmfFjHvo7PuicNH2fh0p/o2OsYDqaClRJ+HbHPnxtWCn jtaDFNAFxI3nBbyaUAyjQZGuTfV8PgB4YphE4BU6NpeQgRlxZv7z7wMs74oVoQ+kqN wCBY/nleKySDzrSfJ5jYzg7i8R8rypOYBYhC8QXCBw45zM7zbHyy0Qot1MMzM97hVl 4A+/HEzS8/cWJielwYSkrOQzgjS97aufersSUCjomjS3cxDUA7J/4bHSt0V4G37rBl WGOjf9NF6xncQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8E7B818003F for ; Wed, 13 Aug 2025 22:19:31 +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=-1.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_40, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2037.outbound.protection.outlook.com [40.92.19.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 13 Aug 2025 22:19:20 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Kv6k0SwlNEHmpWyWrGUuapGs1HOSX9ddcBZIg4R72Y1VCAn7zNgvfdQTy1IhGlS9DDB9jwiYKIOQNYwgLO4LoqSjrJ/Jd7uAKxxaXPFrgt3fEzxCdU6wJU3htMMlxhv5YLJ8Zw05M4kcdrUjQzKLZYff22tCHGfn4PrzQZbtSmlu0oQhc/YCYjE/SG/y32ce85LthEH/fHjm8RMa9v0/q/5M+4JmG/MtfIvsIXMFzQkgTzcFs+O7Uck9kpmYJbXNfTQHIZzabTWgeQtyUlwUowag2xqx4NLCYGswJsJOJmfBPxGOoL094U+ONZM8+EaiXM+R7kAGwwwA1hn864CEFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3y0poqFiXGG5HkQGRv4EAgwFclJotCSQQ7mfI3GYM90=; b=N1lQLxdrSWzYmuMkAVseKhdnCeeSZB78z8Vm0R2yZ1IyHtHpKxEEGZOHnZi6rnlmkXvsKsnVeWo4OZLvijPY1ka6EYqRJhzDc1h+eyJ6tnorDBQkAr71qUFDcwU5bUbPX8fgJsbsnK4XtpJkwkS8/HSMNYMHkloZuaJ5bcSxQrA3CrNfrWk35+9FYFMoO6jAXru4riJW0wIxiFBbLLk+RsRKFA7/pXug1raZGlMCzfeuY3TNFJk/fPfpSWaVOjL8u4VnX2ZwCWj125IaEh3JTq3ljuK7Qwk1mCnZTlCzW2UtTHhcBUPPy5R9e1qkWfzNfc7wxdEGVgB4vu+srMHv8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3y0poqFiXGG5HkQGRv4EAgwFclJotCSQQ7mfI3GYM90=; b=fHapmJi2JhG8XNaXObS9Q3+pmirqJ4fzCzDrwNW0B6j/Ci7BmNaHEptR8zdwKhrONLdhesyPQiGOxNCYvTXHIIT6v6V5lPrjixHPB4agMjn9c9Eto+XyQK7w343227agmNKdwHp5Bor59FnR9klZbu77zMhbNlvvwDO75tJIfV9zYRpFoOeZIO5qg/zUZAn5ZfYQo8ofHk7v19HurC1gDCm8w+GCqIzN8UmVT7HFFKet2/eBdEFs4SNll98V80oCKtO912TnTiGktJbX1Q1SyIPyLaG9IOAJxyhoh2gKq8DUxGv01qBpd0aPXP55oqV5hKwBpiuSzGVn8DiwufMVJA== Received: from DS7P223MB1365.NAMP223.PROD.OUTLOOK.COM (2603:10b6:8:255::12) by PH7P223MB0668.NAMP223.PROD.OUTLOOK.COM (2603:10b6:510:1b6::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9031.16; Wed, 13 Aug 2025 22:20:55 +0000 Received: from DS7P223MB1365.NAMP223.PROD.OUTLOOK.COM ([fe80::ed01:8589:9fa1:dd61]) by DS7P223MB1365.NAMP223.PROD.OUTLOOK.COM ([fe80::ed01:8589:9fa1:dd61%3]) with mapi id 15.20.9031.012; Wed, 13 Aug 2025 22:20:54 +0000 To: Larry Garfield , php internals Subject: Re: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.5 Thread-Topic: [PHP-DEV] [RFC] [VOTE] Deprecations for PHP 8.5 Thread-Index: AQHb/WOZGy9E/ymG+0OqoqwkoGzjmbRZRU+AgAchWICAAB0YgIAAALqAgAAUCACAAAm1gIAAMmYAgAARawCAAAULgIAAPShR Date: Wed, 13 Aug 2025 22:20:54 +0000 Message-ID: References: <870631ac-05a1-429a-94b9-6caa8ab577bf@app.fastmail.com> In-Reply-To: <870631ac-05a1-429a-94b9-6caa8ab577bf@app.fastmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DS7P223MB1365:EE_|PH7P223MB0668:EE_ x-ms-office365-filtering-correlation-id: 658251ac-8834-4d27-29da-08dddab7ab92 x-ms-exchange-slblob-mailprops: YfhX3sd/0TVWrg+fxRScxfg9v9HXnUFlIPksxD2dfqk7Ag1tM0trDVHQJ9BOx8Quy1/xaLilf01f1VkXvqXTbncBFMKW7y3Gz1XOwrD9FrJBTuuw7sOng1z+STPajZ5wvwvVBJVf4BSsrOjg63DOw0Zm+g3SvcTOJXFPwDwXqFi3sGbTMO/VQZF6FpCaxy5WvDhVoGjeM0sek6unQEIeVBVopJfVzuTHzbciz5nVXvxo9LSR7bhuk7YSAM3CNBBuBB0ehL6K5QIYilsgyMEtHgtT+zZ54E1Dg6/KkgmZiahqEJdSUpRkQ1h/28d8UwTueC76RbxIwLgz+WJOo+2Bc6Z54Hz+1LZN1tMkjHqpSd0yu66VqxivDXsWBVh8lt8EMmvvmV92TFfBIpGKENyLOz8DLsri7Rs4mtH+6CLNG7QUcbfJl77Uz//uC2KKV41YVvfEsmdPyG9OZxhEbi0v1/SS7K0pFLyKV/nKhK5I16lJzMclF7bIi9XgPEAcKGAurgPBmM3XsxH7pExOM9nr80FNPTsNeLfT/mRzhe8CTSO5/LnL8fFsZjILW2L8h037kLiCU88t6b3oLz+7yXX6V8yZvyqH1jABaVo9x0OjC6rhIAMJb7sip+920rXooPnXDpp6v+wUn/SifBVeOxStHs7ixrMYFJW5oIl+8efWhCtcAndgC6O2eZ+4+Cs1ZGnaMUln5MRCIlyo2QU6MkzHNDFVeVr4gooNh4MG1FW+B+r8cOTyIUPAWxlMfaNLNINNnMneHRl/97EanFDZbjDPA98SAa2/DNguYWLPXJ359SA= x-microsoft-antispam: BCL:0;ARA:14566002|31061999003|15030799006|15080799012|8060799015|8062599012|19110799012|41001999006|461199028|1602099012|40105399003|4302099013|440099028|52005399003|3412199025|10035399007|102099032; x-microsoft-antispam-message-info: =?iso-8859-1?Q?zGliOz+PMXHrgdqolluXCYAEpWuRvz8iSzlFkxgzmC4WAilW3DsBtaE1J3?= =?iso-8859-1?Q?/VzMcW+pDkk2uL45uB6GSZ4R9oOPGb9MNvQ1DX7c70Vk83wrpXWB3VLkaW?= =?iso-8859-1?Q?m4WsxqotFMBt/wmC4g+OZUCUhBX+7c4NMfr7Td/OvC15T4zvMrWCpjDY+o?= =?iso-8859-1?Q?1aITxLMiCkkdYf5mMC1JUkuBYp7NI75PcS02w82S4OLdv3tMGh9DCDirwt?= =?iso-8859-1?Q?X4W1L+ST2XeurltuktFeps5gd8RrDoxWz96IdiUUXGtRouHL3loIEjbEsd?= =?iso-8859-1?Q?okPZPCVx0y70FqSSzVzSGvsUupqqC2rVeEQjNs9psYGmMGPXpuSsACwzFe?= =?iso-8859-1?Q?C0kAzOeQFLlVMaW3NeIzweuvFdcL3wqorpuPzYOiDOHoSuH/YI6gFkBfz2?= =?iso-8859-1?Q?l4M3u7FFvBbOiZt7SWoB5Etu1qo9s2p1snc4tTi89mLstD01wpjtRLIalo?= =?iso-8859-1?Q?cTbg51KzthKWqxDAk7Ylws4wCcA7KD8+w3gQUI/m9s5Rx60nWhcjiHbsNE?= =?iso-8859-1?Q?ysq24jicZ32UUY8SB7m6Yx4RqOzzJdC76V4uJaFhlyyuvlWJBc42CeA+f/?= =?iso-8859-1?Q?cmPVGKx/SjfiAhjbymhLSovSUf9QAqyIo39LTntMHb45ihDp8b+/KI/ZlL?= =?iso-8859-1?Q?ErXeSt8QtNMUVYKRPG6ObSWfBwFuaUHC01z6MxG3etwrwBsV8ppVnsglIC?= =?iso-8859-1?Q?rV3M6sNYKCeugkxQ35v/tc8xEYNfn1bY/jyDUaSURBQYpz2qhfvQdTCTh2?= =?iso-8859-1?Q?fCAXHdAiiRCCeAS22d75klbA01T6fzXir3u/ePjtVoH9Va8SE6g3j12EzE?= =?iso-8859-1?Q?owVl3Hm/jYAeu4ULxu/7eVNv0Zb4y2OlKwH7BuxvzQAqFp7xk84x3sXFc4?= =?iso-8859-1?Q?TeVgrG2weM22Zu/V0V2MTm8h7alScQGlUvzKnG1IFXLzoWQiO6HWkllTk4?= =?iso-8859-1?Q?V1DVruWihDGWeGAEZpVftR82zTxNkKWyIvf3J4+aURFEyz8N+kRI4ygYDd?= =?iso-8859-1?Q?XCiHjSU3C1jxcL+46elULPs9NiuTLELwjJmm9B8PkI36czwJWgDqzOgBXF?= =?iso-8859-1?Q?5RnmKnHLPNSJVbGB8+aT0t1w4djgK59G1uXunVJZMKcFbYxciMdXCLiAV4?= =?iso-8859-1?Q?DiGw0lQoLtxWzDdTmOSkC88RqrMnPIpZzwQrFaSnX1kYqHy8I69rVTn0RY?= =?iso-8859-1?Q?1fCggaj1eMM2trS7+OJY3D6PhYh2t5wAR0tEIVeV4GZDa8dxcegdBgWwP9?= =?iso-8859-1?Q?SmILSY2ShjE+TodNpEmBhcK8+qnMRSxSD6M/8boSrJZF1jWcA/JwWfXNgW?= =?iso-8859-1?Q?hodYSK7/kZJ0hm6OxE9CWEcgYf4j6Efib26eqzLFdT9bn5uKo3oqwbBp4i?= =?iso-8859-1?Q?oAANbonKMb?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?1P7WVik1CvEZoJxImG6tCErHp6npa5SpwbpJrHa//KBeNsXnS2YWpcjPEt?= =?iso-8859-1?Q?gDU2OeaTt7kkBlZ5HR7+5JjGwmgehHFMKh8jIM6A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rHmSE1ZMG2qPMX0eebx3mXbZjDAGSj4+9qNufRlULaJAaVQd5K3q?= =?iso-8859-1?Q?KpPq7OFwB1idQ3cGJXWMJlI6FXXNEdGrEOae0cNuAcxTQgIjQDjEPfQzjw?= =?iso-8859-1?Q?Ie1yflWHY/yZV89CCxFuTqaCQGmP2Uktq9bwe7WCEwwR9NOYCD520s9wB/?= =?iso-8859-1?Q?LHwJdg75heaLylzZ3qWgX/rZFE1Js+W05L40+UMr1m/SxTwPWdxK5bop6b?= =?iso-8859-1?Q?MPtI9zpsya07YJyqovyu9ekv2bgiKMcqDK4zEvpDUekIJtgCchMMkS1tL7?= =?iso-8859-1?Q?rMhX+BZUsGmleCdRxbdBGpP+9GJ1PPvyXC35DGxuw=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Precedence: list list-help: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DS7P223MB1365.NAMP223.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 658251ac-8834-4d27-29da-08dddab7ab92 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Aug 2025 22:20:54.8278 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7P223MB0668 From: theodorejb@outlook.com (Theodore Brown) On Wed, August 13, 2025 at 10:54 Larry Garfield wrote:=0A= =0A= > (And I think this does lend still more weight to Juliette's frequent requ= est for more=0A= > robust impact analysis for deprecations. Not because deprecations are bad= , but because=0A= > we should know what the impact is so we know how to mitigate it effective= ly.)=0A= =0A= I analyzed the top 1500 Composer packages to find and categorize usages of = the=0A= `__sleep` and `__wakeup` methods. There are a total of 250 `__sleep` method= s=0A= and 259 `__wakeup` methods in these packages (509 total).=0A= =0A= Of these, 108 are empty methods containing no code. Most of these are stubs= =0A= in the jetbrains\phpstorm-stubs package.=0A= =0A= Another 152 of the methods contain only a single throw statement.=0A= =0A= This leaves 160 `__sleep` methods and 89 `__wakeup` methods (249 total) whi= ch do=0A= something else. 150 of these (over 60%) exist in just 9 packages:=0A= =0A= * doctrine\orm - 14=0A= * drupal\core - 38=0A= * laminas\laminas-server - 7=0A= * maatwebsite\excel - 7=0A= * magento\zend-db - 7=0A= * pdepend\pdepend - 31=0A= * roots\wordpress-no-content - 6=0A= * symfony\mime - 8=0A= * symfony\symfony - 32=0A= =0A= Outside of the above packages, `__sleep` and `__wakup` methods generally se= em to=0A= be few and far between.=0A= =0A= I created a Google Sheet to view the per-package statistics:=0A= https://docs.google.com/spreadsheets/d/1i7GINJdTjXk4lj012vwd7ipZTxuucduYh-J= yYm6V6Y8/edit?usp=3Dsharing=0A= =0A= The raw code for each `__sleep` and `__wakeup` method can be viewed here:= =0A= https://gist.github.com/theodorejb/965633b9787475dfe64cc53dc941bc49=0A= =0A= Kind regards,=0A= Theodore=