Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119625 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 46066 invoked from network); 1 Mar 2023 00:14:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Mar 2023 00:14:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 05D77180507 for ; Tue, 28 Feb 2023 16:14:05 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_HOTMAIL_RCVD2, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.80.0.0/12 X-Spam-Virus: No X-Envelope-From: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2066.outbound.protection.outlook.com [40.92.73.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 28 Feb 2023 16:14:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U1xwtLdbi9MMTe7CGPz+U8fB3wBtIY+42xmVe+HEf5kH1Kp86Ip4S8juKaE0KNJn2KXB086DQOJRSmlbO74JGDcJjhKfLdmXAN+nMWLQkg1Z9gfHRz1heiak/ggmwtHNyq22RST7F9FivyJMmNx+4T0d+I/tQjIfU7clbtYIGNv/BRoLui6cLTnmY/JStERp/m+4UszrDXdzv+0I6gKQJCEd1JN09tq9Cvay43yn9pIGWPORJiBdMFvzyeR6tM9SYf5rx/UBuUPBcTabx45lRxHdZVl4zh8krBL4E2XI+VHxlaQTY3No6amm6oxoJL687IOcUV13TvfZgqPRvKv8wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=YFRbDj0k73kNYxDniERHfcJ3wIq6FyJCfH+GMBw0kbs=; b=ah6MxuKLx1VuC3gLTZOnvnShqfspaj5luDssQ+D37qens3TVli6ES9bOKTtJrOqI0pV3kmzgIZcB2NYaMK9O9+WqzQShFJcR/zx0EKQBZCtqZ2tQo67Axw+gjDgdYG7wxF2PcBuTtzGwfTb7df2HRgvZWkU+1JOH/dGLrfFx5Ant2DzSigapEqncm9Ov3nyJ6buCTa44ol+cAtlnrFzOzP5DIg8mC6bjcqxnqil7cAUWyHyutPAeYgt2hF1qRkCaUOSKB7Ee5teaP9+xcVqbQgJ9U23r7fClnJtUsppHhD1njbfq2eIoo/li4hDYxlnlUzmrXDIisbHmIFbBsLuRoQ== 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=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YFRbDj0k73kNYxDniERHfcJ3wIq6FyJCfH+GMBw0kbs=; b=YP+FPy8JAD71T+LaGKIoRL3Beu0QT5QZaHcFwpguJJIPqGFh6IYoct55qO7BwwmiIQ6Dgdy8zWl4LYjCwgb2ni5Xd6e3vpC4mlnHvclURJLFQoY8WhVWCdlW4roJsl4ceoZMozeHn8hYm21CLIpJycZsurlEOxbtzzGUR3NGHtEk08kBDbtV5jZldeG/kUKuLQ59OZ3ZO/CKV6fLlmdJIYt0bpFngGTjt+Pz6yt6WJs5y5MKu2oWFx/2Bwir4r+1iaT5jTBAsYxZ0Hi6MOr/e477v3xtEtM68rz8y/VBLfYLLCvlxFddFuY5GQ/ZQWUcD++zeYS9MjF0tVjt17H8wg== Received: from GV1PR01MB8817.eurprd01.prod.exchangelabs.com (2603:10a6:150:2c::13) by PA4PR01MB7645.eurprd01.prod.exchangelabs.com (2603:10a6:102:c4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 00:13:58 +0000 Received: from GV1PR01MB8817.eurprd01.prod.exchangelabs.com ([fe80::3561:c061:dc67:228c]) by GV1PR01MB8817.eurprd01.prod.exchangelabs.com ([fe80::3561:c061:dc67:228c%8]) with mapi id 15.20.6134.029; Wed, 1 Mar 2023 00:13:58 +0000 Content-Type: text/plain; charset=utf-8 In-Reply-To: Date: Wed, 1 Mar 2023 01:13:56 +0100 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Dmitry Stogov , Max Kellermann X-Mailer: Apple Mail (2.3445.104.11) X-TMN: [PDvHPvY9GR8mFXuOJALUYbEihwecyyXOACjFCJQpgqO36E9sHAp/FuT0uYUe2LSD] X-ClientProxiedBy: PR1P264CA0009.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19e::14) To GV1PR01MB8817.eurprd01.prod.exchangelabs.com (2603:10a6:150:2c::13) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1PR01MB8817:EE_|PA4PR01MB7645:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c77518f-abf3-4b6a-9477-08db19e9da0f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bcakUATisBB/r5rEdY2kJMXNvgaAccsekzPh0pxoCcA+2q/vot2bE3vx5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rTERxd1hNOWh6aEYwa1VUaDdQcEt1a290U24vZllYVTFX?= =?utf-8?B?ZkExbm5zOEhramp3dnUxY3RuYTJpaVBkUElINWRaNmFtZXZCTzRucUFWUW9T?= =?utf-8?B?QzNUckZpRDNIR3d5cDZ3TXBMc2JCQUlRMnBsK2x5amVyWmp2V2I5VW5oQ1Z2?= =?utf-8?B?TEtPTlErRTlac0VkOUdMZ2hGL3d2cngvbW9OTXNJZWxyNnJSRFVnU1p5MmRp?= =?utf-8?B?RElBSEtlNk5PL2NqU3V5eXdTWk8yVzFVRlljS0dXRG1hV1RMSnozaG92bmhY?= =?utf-8?B?cEg3UkhaazE0Zy9mVmdrSTlQdkpCb1N0NG52T2J3aGROYzkyM0pMTDQwQW1j?= =?utf-8?B?U3BuOXFUUU1FYXppS2F2aU9VQXFibkNMMzc5dHdQeVRRMk9UdVU1RkJQZk5W?= =?utf-8?B?aU50VzhSMlRvTHBIR3ZheEJvQVN6R2djRG9xbDBBSkp3M25xOXZpcmJicVBq?= =?utf-8?B?Y09sR2lTeG9KRENQMWJHM05YbDBCTlIrSE13anNYSmw3WTNUWWY1ZTl4NllH?= =?utf-8?B?Z0RkQytucVBhYzc4WjFmQ0JwQm9ZQ0tZbWNFQU9sZE43SjNLaituKytDd1pv?= =?utf-8?B?L3NCT0hUUFlxTCtPcmJIUT09?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-fc60a.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 7c77518f-abf3-4b6a-9477-08db19e9da0f X-MS-Exchange-CrossTenant-AuthSource: GV1PR01MB8817.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 00:13:58.6941 (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: PA4PR01MB7645 Subject: Re: [PHP-DEV] PHP code refactoring (was: include cleanup) From: bobwei9@hotmail.com (Bob Weinand) Hey Max and Dmitry, > Am 28.02.2023 um 23:34 schrieb Dmitry Stogov : >=20 > On Wed, Mar 1, 2023 at 1:21=E2=80=AFAM Max Kellermann = wrote: >=20 >> On 2023/02/28 22:31, Dmitry Stogov wrote: >>> https://github.com/php/php-src/commit/0270a1e54c0285fa3c89ee2b0120073ef= 57ab5fa >>=20 >> This kind of change was favored by a supermajority. >>=20 >> You argue that this supermajority vote is irrelevant, and formally it >> indeed is, but pondering about formalities is kind of ignorant against >> the now well-known community opinion. >>=20 >>> https://github.com/php/php-src/commit/b98f18e7c3838cf587a1b6d0f033b89e9= 909c79d >>=20 >> No vote was made on this, therefore this doesn't violate any community >> rules, does it? >>=20 >=20 > Please reread https://wiki.php.net/RFC/voting#voting > RFC is accepted by a supermajority of the primary vote. > The secondary votes may be used to make decisions about implementation > details. >=20 > Thanks. Dmitry. In this case, while the primary concern of the RFC was rejected, I think it= 's pretty clear, that there was a supermajority for something specific. I do agree, that the topic, given hat it conflicts with the rules, a mail t= o internals on that topic should have been sent. I did vote no on that topic, however I still think there was some mandate b= y the community that this is wanted. I would thus not make too much of a fuss on these grounds about the splitti= ng. >>=20 >> If you think this should be reverted, explain why. >>=20 >>> https://github.com/php/php-src/commit/42577c6b6b7577c57c161ee4a74cb1933= 82bf1e0 >>=20 >> Favored by supermajority, see above. >>=20 >>> https://github.com/php/php-src/commit/c7637ed1c03f556c6fb65884cfc5bfea4= 920b1c7 >>=20 >> No vote, no rule violation, see above. This is no violation and I think Dmitrys tone was a bit too accusing for th= at. But I also strongly disagree with that change. Let's revert it. Quickly seeing which number is which type is quite valuabl= e for debugging. By now I know most numbers by heart, but most people won't. >>> https://github.com/php/php-src/commit/371ae12d890f1887f79b7e2a32f808b45= 95e5f60 >>=20 >> As you see in the commit message, this implements an (unwritten) rule >> cited by Nikita Popov (which is now written as of >> https://github.com/php/php-src/pull/10630). I personally don't agree >> with this rule (there's a thread on this mailing list about it), and I >> would favor reverting this commit - I only submitted this trying to >> help with implementing a rule even though I don't agree with it. >>=20 >> If this gets reverted, then https://github.com/php/php-src/pull/10630 >> should be reverted as well. Again, not my opinion, I'm just trying to >> help implement somebody else's opinion. No, it should not. It makes a lot of sense. It's however not a hard rule, but a guideline. Applying these changes to ZEND_API though always shall be evaluated with du= e care. In this specific instance, a fairly new API I think nobody uses yet, it's s= ort of acceptable. I wouldn't mind reverting it though >>=20 >> Max >>=20 Max, while it's nice to see a couple cleanups in the PHP codebase, I would = like to ask you to be a bit less quick at moving things around. There's value in having a codebase evaluate slowly. Obviously not at the co= st of progress, new features etc.. Keep in mind, that at least extension authors will need to work with the ph= p-src codebase of version 8.2 until probably 7 years in the future (basical= ly until PHP is EOL on all Linux distributions). They will appreciate not l= ooking at a vastly different codebases. Finally, these sorts of code moves are also making a git blame harder to tr= ack back. Thanks, Bob=