Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127831 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 8D0F21A00BC for ; Wed, 2 Jul 2025 07:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1751442520; bh=YE9Pg8YuCvc9/1CLrG5r5vJr9a92/0brCKQ/MeSFVvA=; h=From:Subject:Date:To:From; b=iaGJEtETuVCU4Uy9lm00KUJXC806pDatcsmx1UtsU+V5F7sPry3TfOhA77jbRz/x9 +yv6wwi6+aDVJjr0XeFtRhUZRb4Nx4dseskg7GUCyfrRDH9+/iVZWBrg/DZW+j+562 MlIEjkENoH3Pd2GJsLGeZsayYkj9qSBiO1WbMK+A+Wa/RMEO1gm+NWxwodHZobBAXT tBmgNec+Bwai4bIzY/ro6qFP9VXKdUan117Jf6cpqttOqxJ09YjtiNDoppahkbfDJY lte1ZlYUwSJzdoqS4FnNafJIepUtbC4dPyU3/gAKDm7W4iQL175NDN61SyNY/L2SNp BVeWKNfO9yXZg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A6960180054 for ; Wed, 2 Jul 2025 07:48:39 +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.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 ; Wed, 2 Jul 2025 07:48:39 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-60c3aafae23so16243139a12.1 for ; Wed, 02 Jul 2025 00:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jiripudil.cz; s=google; t=1751442631; x=1752047431; darn=lists.php.net; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=mUpp8rd48CJ3QbDMGOxpdbBeIPrP1KgOtfdSyYKtozw=; b=g2JiOS8ffMtLcDNZkjnZVNfug+xiojhgIFRolhH/6RBqYOXz1OBcZpQ4A78Uh0IR4w ZM2K0+DqLK0PLaYw79xQ4BOw10Tww+hQEGdm/ka5OcfBJC6t6IoF6z9TF4h6QXPKBKvU pkllVq3Xew9KRyBgFaaRUzHf66pRAWEsUhWPo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751442631; x=1752047431; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=mUpp8rd48CJ3QbDMGOxpdbBeIPrP1KgOtfdSyYKtozw=; b=IT4mP6RJYrUjUDPH+sFHgS+/g8bcEn+/z0GFG30z7vGbVQUYeNdO1QySe0Y8xBeIHY PiiQxVzQWu3FAWocg+9jZeJknu10mYmL38Cfs/KufHIvGlw9aHlOpgvvl3ZDH4qDmrnw rmHxTMWbrRVCyiHFGOm3zOCme25EM1toKNySmzSKf7oVy50UHFQL/WBiORy76f/4j9L2 dg7eN+f3t6RWsx8aAvjGksZpLKtjNQvE7r6pQ1HgIrTpVCK8x6gppujd7t2/DQKqbnHt gIBLMTmtwjNgpagIiSpd+jJzVhtge4DwPhVxIqracRYjPlQ5TJm+NXlNCDmkSL0YY1gP 36UQ== X-Gm-Message-State: AOJu0YweraEleYfYns391Wn7pq+P19CODDr1gMbi96OW0wftFV00osF7 9qVVlnwqxQ5u6luplsJnv+Bhtl4ex2q7ePSlu+r5Lj+S5SOCGtXQWN0oqAljv8FqiG5HDTy00kh 3hao= X-Gm-Gg: ASbGncsOG9V5jEZAakj4rQjzEJ2yxMPxXWPI6zOaMxSsLAnUoSdUBXEi8BQXso0NN/7 jF2GIhgFZwUE3CebuV6MJhHX4mTfWk/6LzgfbrM2XLJgCBXUhZ15FKdYQVyiQTDNxg6zSuaAAFG fRJmncchgNknhr7M9nZNAYhOENW+doEINr2qFgrzW2a/MY9aiyUSbewaKOxNRocHnHdBKn3gjle RAyJkdXFevsR4ze+H+N2PRQ+BD/h6K6WfgnNtYUWQpFsWXr5nK5tuiPmUFFQq8fbuKEmbjU0ldD zqOFPzBgHJ3Lo73wwEA2HlGl3lPDYvBJxeKXBaRa3iZTuu9Tcn5FOxXQiSzQ9JyK8rfhoGj/DAI y1l8a2dHcU3xlBoMJQ1WtuisUDA== X-Google-Smtp-Source: AGHT+IGeSpJ03WswunjPkiXX1QOATmAC4/6iBezKP/hkcp5fg/REDrz1H7hBKB/oSr01D8dVJTRH2w== X-Received: by 2002:a17:907:7208:b0:ae0:c606:78d0 with SMTP id a640c23a62f3a-ae3c39b1041mr149683866b.23.1751442629648; Wed, 02 Jul 2025 00:50:29 -0700 (PDT) Received: from smtpclient.apple (softwareart-01.vtp.fi.muni.cz. [78.128.215.90]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ae3b13222a9sm265182666b.19.2025.07.02.00.50.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jul 2025 00:50:29 -0700 (PDT) Content-Type: multipart/alternative; boundary="Apple-Mail=_72773951-B30F-41A0-9BD2-D17A967083CB" Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: [PHP-DEV] Pre-RFC: allow #[Override] on properties Message-ID: <00B391BA-EB1E-4B2B-82D6-4583661603AB@jiripudil.cz> Date: Wed, 2 Jul 2025 09:50:18 +0200 To: internals@lists.php.net X-Mailer: Apple Mail (2.3826.600.51.1.1) From: me@jiripudil.cz (=?utf-8?B?SmnFmcOtIFB1ZGls?=) --Apple-Mail=_72773951-B30F-41A0-9BD2-D17A967083CB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi internals, I would like to propose extending the target of the #[Override] = attribute to include properties. The original RFC explicitly excluded properties [1] for reasons that = have since then changed drastically: the additions in 8.4 have allowed = properties to become a more prominent part of the public API of a class = or an interface. In light of these changes, I believe it might be worth = revisiting. The RFC passed almost unanimously, but based on the discussion, I got = the impression it raised some concerns about its utility. So I wanted to = reach out and read the room before proceeding with an actual RFC. Looking forward to your thoughts. Best regards, Ji=C5=99=C3=AD Pudil [1] https://wiki.php.net/rfc/marking_overriden_methods#properties --Apple-Mail=_72773951-B30F-41A0-9BD2-D17A967083CB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = internals,

I would like to propose extending the target of the = #[Override] attribute to include properties.

The original RFC = explicitly excluded properties [1] for reasons that have since then = changed drastically: the additions in 8.4 have allowed properties to = become a more prominent part of the public API of a class or an = interface. In light of these changes, I believe it might be worth = revisiting.

The RFC passed almost unanimously, but based on the = discussion, I got the impression it raised some concerns about its = utility. So I wanted to reach out and read the room before proceeding = with an actual RFC.

Looking forward to your thoughts.

Best = regards,

Ji=C5=99=C3=AD Pudil

[1] htt= ps://wiki.php.net/rfc/marking_overriden_methods#properties

= --Apple-Mail=_72773951-B30F-41A0-9BD2-D17A967083CB--