Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:130760 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 BBF9D1A00BC for ; Mon, 4 May 2026 02:48:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1777862930; bh=Ht9+UVq3DZJZWupcDaJQpw5tKrzUru18YUZC8xgnn5Y=; h=References:In-Reply-To:From:Date:Subject:To:From; b=MtxGq4AzeP9N8ODLvLZY0mN7vPXebgPuDC0MwAwHfN6iBZ4vmGlcVG0BAuf+wWoff J+XXE/16RaJ+G384vFPFd3Tn3VZu47w1Cvuw66SfcmeHZm2jjQ+wR0NEU/Ow79f1jL ZfcFYUs9mlRTtwz4HLSNVdXJ4A0Oc/p+JxfUSGpd/NwaMrmjTRJrRzZYbbCjE2PYhF +eNPASWZ55HCx1UROmT/yf/6iEXDv70nICUICSMdDH+n3swKYPTpjY+kLnDZ/LU73M FdgFUAOL5gk/FyM5tl2DpSX/lBuBv79p13eikaqbRYEhjo7WTbCKsmM0jdItFzv5Zk dAYnKSj5z2UJw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4D143180040 for ; Mon, 4 May 2026 02:48:49 +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=0.6 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.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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, 4 May 2026 02:48:48 +0000 (UTC) Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-79ab3e26cceso31210167b3.3 for ; Sun, 03 May 2026 19:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1777862923; cv=none; d=google.com; s=arc-20240605; b=Ll3i0nQI8l75RYU6VnLWmWHq5iq3FQ40oVojfY5frWviyJ1Sz/en7sr9UBzxVzhJcN YkY/f9RpqckhaBo52xJvsR2q1TL7vBUs73H1bJT6aq63Da6X3+B/RGTniFVG9YK9OZgR olYOayyPhJs3KHlVEti9JN0k2A5X519rtcHqzt5GtgbWCrDcDQvyhR3ONNWJ682lmI+J AxUfB1UkY5XcgSmxKKPrsXk1A86iSo7v881PNIWlwoOcPeDeTNPWaAjkdN7/xQ9otfIn aR6YOExeTmO17VUm2LeB8myUFINTnRTi1vgAfBdTqPOUg78jm+vxEWp6/3exWL5Qt5am YvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ht9+UVq3DZJZWupcDaJQpw5tKrzUru18YUZC8xgnn5Y=; fh=RnZ+4KjfdZdxwVfzmjFoBvUAaJ227RJecqE9MM9tvfQ=; b=g8b6Q8J1NWrPOU/DO595pg2Ex+2pN11tljOdwqRALeBb/NFbp6AXxYMMcJq99sk7DV rKSq8XId4yYNXeW3Nx8enXNGs1DK9ASgyVaynbXuS3VafePVSZAZDeWLIwzrH6FLSPUP aeb6Lk20/Bval/FULFwIPbMcFA8Uhp69hLmcPz9+TPyy/OJYVtoWouOk3Q01+1xMt96T hNlI66x1nW2ZQIumz5mKnhGmJvmSZwKcORRcVeTEnKNjxnR6XEov+LTnGumCsGRRoviQ N6CZwtUC43kf/t26Ny8Lr5grMoJ8jFPbQSb29pC7rMtLMQ5P7Wm6qNEF+LGXmPS0gpBY JCiA==; darn=lists.php.net ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777862923; x=1778467723; 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=Ht9+UVq3DZJZWupcDaJQpw5tKrzUru18YUZC8xgnn5Y=; b=Et+MhNnIgk/6QEykimtlCfQ2+Ob5OLgjtMl2aM8UpjJoS/DmTyensbqrEeODqdMQ+7 Df4SuWMABoam5VlskiEBZ26g7KMrj7VRKoEq/Chbvx9lD8BKFrMCyMKldM9Ewfzmtq2G E/i7v8ftcuGz9omHAOjsqf8jQD7CaNr5VYEXPo7FhRC3Xtwq4ti/2pPj36bXTKhPxPzC 5fM7CKtpQK63zYmOz54RvH+qZWXUU0tXNu7Xb99yDa4gSJCRhGVZWZ06p9s1o565iXII O7ITTplwjpNVFcsX9W550Eft5u3SBOQIPrS675qBT3to5U6GtBxyEtxbbHeqOZWVnwOf Bnbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777862923; x=1778467723; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ht9+UVq3DZJZWupcDaJQpw5tKrzUru18YUZC8xgnn5Y=; b=eONt7va+E0xt4ujxa8RHnWTuF8nFQTMXLgXEQ6nvoiEc9Q3E/s1PJ3UfRp4Z2tmC3u oJ9m0Ny5mCvYqCd0AFPt417D+3OCJwHZIjz0pkzdAMQwJ1zHeRFBSxjOh3DlUMg507TS olSgjygn8Nf6LrwVE+fGy3l/i3bJrBje3Fpii5rjx8ViQggerSJY+KPf3qFmdAGsN7hK TQT5or9akwVvID3lKHqD5ZUZcQNF2EfKnD28sjsnRGG5NFuH2Xlx+Mcby3KCryH3amxm lwNeqytS6MABGst9gXOlqHI5fPlTabrxMtxZ4CV1faxqDP6+A49SZhJIQHNtsSJvCjNg RTzQ== X-Gm-Message-State: AOJu0YzM1eV76+uBEf7pcmPcx5JEiRny1I88pmDGLLvh5+3Hxd4lFqS3 CfQGPL373XUhemWYuNN7wxLXA10hcF4E718JmeUhpIYvvfR8sBbrBkzDhXIRl8U5t+kbdVX3ixo Fh4DDCPbTWgeGqvsf7GM8EIHMDqO2+z2EYw== X-Gm-Gg: AeBDievW6zynbXARPIwtgir6Ck2P9EJlT30L6OAPODfJd6pPD/qBHQVjPvZhVYkr/Qc VQZHJe/14AF7862AyCPuk2vtplBfcOgFrcedwr0F4ElAJwMqx8GNLFN/JRY5uD/0FULg4N9m2Zd qTWL/0Pi5VO1HS+zBtYaARADS+pAbPfNHvGAujdclex0LjZv4VTDQLhxL1r2o+ekgyA3CLOjodX yOem897bXJ7+BF+/auIjb2UOlfmi/Gk+IYMFskdTOUT8umPeu68gv1/WW5J+MgzGbLWac3eB8Pv RJHZFjs3OdCR6lL01g== X-Received: by 2002:a05:690c:c50d:b0:7b2:2382:e309 with SMTP id 00721157ae682-7bd7711bfa9mr79773737b3.33.1777862923132; Sun, 03 May 2026 19:48:43 -0700 (PDT) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 3 May 2026 19:48:08 -0700 X-Gm-Features: AVHnY4IAvsveSeCBNmen9oPqy9YtfmQxHhBYghAklp2xwUf853vqtmQpNH8gUso Message-ID: Subject: [PHP-DEV] Re: [RFC] [Discussion] `#[\Override]` for class constants To: php internals Content-Type: multipart/alternative; boundary="000000000000fe20fe0650f4f7d8" From: daniel.e.scherzer@gmail.com (Daniel Scherzer) --000000000000fe20fe0650f4f7d8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi internals, It has been more than 14 days, so the cooldown period is over. Having received no further feedback, this is your official intent to vote message - I plan to open the vote in the next few days if there are no new concerns= . -Daniel On Sat, Apr 18, 2026 at 6:19=E2=80=AFPM Daniel Scherzer wrote: > Hi internals, > > I have updated the RFC to resolve the open issue about `#[\Override]` on > enum cases - when marked with `#[\Override]`, the enum case must be > overriding an inherited class constant. The fact that this is so uncommon > makes it all the more important that when it is intentional, it can be ma= de > clear. > > This qualifies as a "major change" to the RFC and triggers a 14 day > cooldown period. > > -Daniel > > On Mon, Mar 30, 2026 at 4:36=E2=80=AFPM Daniel Scherzer < > daniel.e.scherzer@gmail.com> wrote: > >> Hi internals, >> >> I'd like to start the discussion for a new RFC about adding support for >> `#[\Override]` for class constants. >> >> * RFC: https://wiki.php.net/rfc/override_constants >> * Implementation: https://github.com/php/php-src/pull/20478 >> >> I'd also like to draw specific attention to the open question, which I a= m >> soliciting feedback on: how should `#[\Override]` work for enum cases? S= ee >> the RFC page for details. >> >> Thanks, >> -Daniel >> > --000000000000fe20fe0650f4f7d8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi internals,

It has been more than 14 = days, so the cooldown period is over. Having received no further feedback, = this is your official intent to vote message - I plan to open the vote in t= he next few days if there are no new concerns.

-Da= niel

On Sat, Apr 18, 2026 at 6:19=E2=80=AFPM Dan= iel Scherzer <daniel.e.sc= herzer@gmail.com> wrote:
Hi internals,

I have up= dated the RFC to resolve the open issue about `#[\Override]` on enum cases = - when marked with `#[\Override]`, the enum case must be overriding an inhe= rited class constant. The fact that this is so uncommon makes it all the mo= re important that when it is intentional, it can be made clear.
<= br>
This qualifies as a "major change" to the RFC and t= riggers a 14 day cooldown period.

-Daniel

On = Mon, Mar 30, 2026 at 4:36=E2=80=AFPM Daniel Scherzer <daniel.e.scherzer@gmail.com<= /a>> wrote:
<= div dir=3D"ltr">Hi internals,

I'd like to start the = discussion for a new RFC about adding support for `#[\Override]` for class = constants.


I'd also like to draw spe= cific attention to the open question, which I am soliciting feedback on: ho= w should `#[\Override]` work for enum cases? See the RFC page for details.<= /div>

Thanks,
-Daniel
--000000000000fe20fe0650f4f7d8--