Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:126879 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 qa.php.net (Postfix) with ESMTPS id AECB61A00BC for ; Thu, 20 Mar 2025 20:13:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1742501442; bh=y9Xm35zOaxuG0kY9mohGJttyDUcM8l7HRnCTkL28zBE=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Foc0wR8SI8f0iqQRJcFKN6VH91dehe6BkdAR7yFdKczvdeDqbuI2Z6h6XBZ1IJ0+n AIypT1kgAMWt3z8eOAZV3pZIXAoc/9QpqppFfTnXMSe/rbj/gFGcYQ3BYdxqN0fC6n RKuZj6IVRZFQSaYRQ01unnkLmg6M6D2kwB2Fx5FCQSvNk3YkiTpUTR+odICjLx/8t/ Ev2OgNFTgYPQg5s8hB0sEdD6v+SZWWkp7mXnbryIKShXScpWbNopgkGik4O1SORwD2 5zKoIqUG7/DFHLQgbQ4RK79sgRkJcPg6AVb8TPmycU1Mu2td8JdBThoRqvS41Pao2q zNUHqW1xEMLaw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 11B3D180083 for ; Thu, 20 Mar 2025 20:10:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-vk1-f172.google.com (mail-vk1-f172.google.com [209.85.221.172]) (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 ; Thu, 20 Mar 2025 20:10:41 +0000 (UTC) Received: by mail-vk1-f172.google.com with SMTP id 71dfb90a1353d-521b84da5e9so570847e0c.0 for ; Thu, 20 Mar 2025 13:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742501591; x=1743106391; darn=lists.php.net; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=y9Xm35zOaxuG0kY9mohGJttyDUcM8l7HRnCTkL28zBE=; b=ZJnPdMVNtuxDvt9hYzTeZ9o9v4jpxB7lDMyGZxyA/TcYDEZiTQ10vf4rUcBGC8FnT/ WpM+kyANVwqPP3LeHh7cX/b9MZjmzhVTrXrwfyv44B2em+vIw8T5zMAJhJBfe/p9fEtR EXo9mcJHfnJZgb4gMOjntm9hqr53cIRHlc7d/un8HNPHczQIHB1Z9q/Hr4/2o3qOtCsG WhVFGrNtzbKix+ZTDGRPMzH2qlpiLrqhjmWSy/AN9lH0IxQI25kgVDJXQ1cS9vDpWHSG IA7tnwA7VnYhiyl4lSxqByaF4iMrlxzVJFfAE03hk+Qi953WR7+Cv4YtafFPf/70twip 7nKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742501591; x=1743106391; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y9Xm35zOaxuG0kY9mohGJttyDUcM8l7HRnCTkL28zBE=; b=Xc1SZOj8wtSHisPzxnGCG8vyTFYdoCtMpy8g8rv4Q/cv0nDmkSUOaQTFtfGUu/NOpl gq12PpFurt01VsL66pg3PIFuLe5J8+cTZ7iJEG4ZYKuGAXuv8zVIN5kXijKWF6BwdA7K oo2CTEMtIKQfht51jLPdmBwEv5mjmFPM7ZwmpImWP5GEU0ct77Xw0cRee7mtPUBdeGJd ZClV4GfMCvaeQDkqD0iis79g1QTwivBngZTtbWfPyQjTzIVUblcPT5+gGuts8vCg8HvA e+M01yo7lfBBCRpjP1L1hpmPR/Tk8htbt61lFMD5jtCXwk289MGCahYk12tKVI1s/Svc 1sdw== X-Gm-Message-State: AOJu0YyL8URccDCXnFPxUaJ3zl4abL3wIXfKeEh7Dh7d+gJCoPqNORIm AsaDZyDhu2cvYwTAXi+QGqGpWZ64PWzVszXjjQHeCqySYVV+hzcdFa1/2kQNjOlmrFOvQFPHFSU y8r8pNvoB6l19rAIwPiOKYb8pqxJXuEL+ X-Gm-Gg: ASbGncuJGq4CprLtRdFXlaAvRQoX3IhAw6oRD3VHHPG99LxLTKxC+7p/92SnAKgZF5K vNEBaEQPsNhEw0vXvKRsf+2sLCqldf369hq5mMhg9yeaV6hZpL9HIsfiT4Jn2eng72jQVCgXKDj SUcLhZFkXixqGA17Dww7Wtkd7WQXg4R4/mVCdL0xsuJrVopnRsSxsqKRkrLA== X-Google-Smtp-Source: AGHT+IFH9yIZ69LODOP+eFxLf67UP09EpAPrBwKnPVe0L73sL5GjVOKnXH4fxHLM22uq8KfuodQ6Q+Eq7SW7z0q0M5s= X-Received: by 2002:a05:6122:3413:b0:51f:3eee:89f4 with SMTP id 71dfb90a1353d-525a84f2febmr1033696e0c.9.1742501591278; Thu, 20 Mar 2025 13:13:11 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 20 Mar 2025 13:12:33 -0700 X-Gm-Features: AQ5f1JrbFLMcvdzm-BXN7w5W_NQRGbVN30MruxaBrxbc6FdsYdbHIz0xQ--EvAE Message-ID: Subject: [PHP-DEV] Re: Constructor property promotion for final properties To: internals@lists.php.net Content-Type: multipart/alternative; boundary="0000000000005e6c2f0630cbc435" From: daniel.e.scherzer@gmail.com (Daniel Scherzer) --0000000000005e6c2f0630cbc435 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Feb 21, 2025 at 12:09=E2=80=AFPM Daniel Scherzer < daniel.e.scherzer@gmail.com> wrote: > Hi internals, > > I recently found out that constructor property promotion cannot be used > for final properties. I propose that it become allowed. Thoughts? Would > this need an RFC, or is this minor enough to be acceptable with just a > mailing list discussion? > Given the lack of engagement, I want to make it clear: unless somebody objects, maintainers have agreed to merge a PR implementing the feature in 2 weeks. If you object, please speak up. --Daniel --0000000000005e6c2f0630cbc435 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Feb 21, 2025 at 12:09=E2=80=AFPM = Daniel Scherzer <daniel.e= .scherzer@gmail.com> wrote:
Hi internals,

I recently found out that constructo= r property promotion cannot be used for final properties. I propose that it= become allowed. Thoughts? Would this need an RFC, or is this minor enough = to be acceptable with just=C2=A0a mailing list discussion?

Given the lack of engagement, I want to make it= clear: unless somebody objects, maintainers have agreed to merge a PR impl= ementing the feature in 2 weeks.

If you object, please speak up.

--Daniel
=C2=A0
--0000000000005e6c2f0630cbc435--