Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118211 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 23068 invoked from network); 6 Jul 2022 17:09:24 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Jul 2022 17:09:24 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE34E180381 for ; Wed, 6 Jul 2022 12:02:28 -0700 (PDT) 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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 6 Jul 2022 12:02:28 -0700 (PDT) Received: by mail-ej1-f46.google.com with SMTP id u12so28641215eja.8 for ; Wed, 06 Jul 2022 12:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=z2Js1teofxaB/YbXNO1DOEDd54pvJwTwXgvkkkZ8guI=; b=hT/TRbRSXcLyz5fbUqhETdco3CfcgAeXTvc1PMXJRG7CV6AzzGaNv2eOOZGEMvUu2k BTalp8fM4RvjQDrzh2jqpZbBCqj+Fyk8Zw3zVIWho/z6q4Ha2AC8/76BGWXITJAINmG5 ld00WEL5gKqWodBFCW5/8s48boR5Q3D5yFrPyebksGXn6Z6sNSKSKZ7OtuVY4O2OFwwZ 4HU/7MgVLmXxvXHofiKWrsUPeJ0MhUnMycwniPHt+TkCU3TIdOaly+o1YlVZNpdZD10O 5BxgdQRaWhexWdR9ZHEcM1NlwLfSF3FfAgcVYr7eELu+o7re4TkyRYGkSJ5HBGr5jlcg iYAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=z2Js1teofxaB/YbXNO1DOEDd54pvJwTwXgvkkkZ8guI=; b=IUGUHc8g4N7vszkAJfD/N/7UYZ4bZWhKvDfFI7jSWaZSVsLebqBql3U44cjhcMdxtM lLxd1nYeS3/I+JxC9ZNOddEDAsGvqpotA+44V/dLae04NAlAtry31KeQNq7Qbs3OMu8X VIESaV7azQllE20+zGHmFV4+J3wKiqVv3iG8P0YzXwKp8JmpktLp+iFo82sJHYu+hpQy lRGEVpoNgtXDjBs9c1yXcTnnTLjFISHX1C8/cV3pJrOXczCNnQzHaplxIhkZfylNiU9R PxQdDJisZi/JBnRJ4rhjyfICESlGatPYVOgjkeU93lVBGSderGrxxfouSNVp/nMw6KZU d8ZQ== X-Gm-Message-State: AJIora+n6dEngXh9N2Zg2NHbaJ2Yk3K5qE6/vLA3+e9aLOcCH845OREq nZ5DovjHf216mWcnKKljE2CHdw== X-Google-Smtp-Source: AGRyM1vcds0vAsQqhR2O6DvdkyJThDsyE0fjxlEOyMMxmybVh5Yj/ljPOBcoVkCa1yheWxJ6Rak4wQ== X-Received: by 2002:a17:907:1629:b0:72a:d6b6:8c96 with SMTP id hb41-20020a170907162900b0072ad6b68c96mr13436361ejc.423.1657134146862; Wed, 06 Jul 2022 12:02:26 -0700 (PDT) Received: from smtpclient.apple (p200300e5bf21bd00989288529366db47.dip0.t-ipconnect.de. [2003:e5:bf21:bd00:9892:8852:9366:db47]) by smtp.gmail.com with ESMTPSA id g4-20020a170906868400b006fee98045cdsm18171536ejx.10.2022.07.06.12.02.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Jul 2022 12:02:26 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Wed, 6 Jul 2022 21:02:25 +0200 Message-ID: References: Cc: PHP internals In-Reply-To: To: Ilija Tovilo X-Mailer: iPhone Mail (19F77) Subject: Re: [PHP-DEV] [RFC][Voting] Fetch properties of enums in const expressions From: kontakt@beberlei.de > Am 01.07.2022 um 15:03 schrieb Ilija Tovilo : >=20 > =EF=BB=BFHi everyone >=20 > I opened voting for the "Fetch properties of enums in const expressions" R= FC. > https://wiki.php.net/rfc/fetch_property_in_const_expressions I voted no, because this introduces a special case in const expressions that= is hard to explain and seeing it in the wild will give code readers ideas o= n property access in consts that will never be generalizable. Imho Const expressions should soley be about declaring state not traversing i= t. >=20 > Voting closes on 2022-07-15. >=20 > Ilija >=20 > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php >=20