Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127042 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 7D5D91A00BC for <internals@lists.php.net>; Fri, 4 Apr 2025 11:18:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1743765392; bh=0IV4gD98VS/oLSoRlZJi52K/a8q4ataTOOPf6Ib7hdQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UYiO42CrPDo5MCeDI3RmGT8K2GHbmnwoW92o4kRSVXm++tBswZqtMsQkv5bakU0Q3 QmobtUe332vn9TYoj/xy+v75+oXUxfBBaQlocqJ06BJpBjx7IZ6ah7Y23Z2bZpd0k6 3TvqJR4d7LuR7S2wqVNGpcg239Gc/M4L9d/5uIQGR7oEtg3R57w+iXQJFWczG6kmHl Tz/MnBJPc0cGcvKk3suwtQXCWA1YDuqM4nlQTMVWf1hazwCSIlbfz682cw5tZ88Syf 4HSa5tjFr6zQFp3FrtRv2DfCJp44ZJL29WHL0+CXL0cfoakML/rLmgiNXsiuCIPHm3 xqT3hvtq0FwgA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B3C19180053 for <internals@lists.php.net>; Fri, 4 Apr 2025 11:16:31 +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=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: <tim@bastelstu.be> Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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 <internals@lists.php.net>; Fri, 4 Apr 2025 11:16:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1743765536; bh=gNKCi1oaTvlBtVUqQ/W+APwnw+GZF3SW50YuMwdmj7Q=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type:from:to:cc:subject:message-id; b=Dhx5Jvy4Ty5MoVl4V08UUd5lfHiw6JOsobaff971CKlSLN0CcyNT8kEolnjwczNgk mkImBODV+56aj7CX6ZLSh9PFOPR8WRdJiJGWy3zYDOUoQihaUXOQciAiETaMfH8i7l KTQ1uf8Zjw/Ewuqv3/R+MUAE/Je/Zl/vNvgv7vcPcXEHhBpftjYM+YWMRghYTY+y8E 2CyaNn7kRDW5LNHmFhGYMURrmBTpmsuYwaeMBmCr3K/T/QVKY9dxmdmyntK2uUjMOg dmX772NfmJ9tadKFAImnNJ2GICMZUwQ7Bx6PCAlFYvH144jiq0kC955KWOC9JKlmAv Q7YUsbb/zLufg== Precedence: bulk list-help: <mailto:internals+help@lists.php.net list-unsubscribe: <mailto:internals+unsubscribe@lists.php.net> list-post: <mailto:internals@lists.php.net> List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 Date: Fri, 04 Apr 2025 13:18:56 +0200 To: Daniel Scherzer <daniel.e.scherzer@gmail.com> Cc: php internals <internals@lists.php.net> Subject: Re: [PHP-DEV] [RFC] [Discussion] Final promoted properties In-Reply-To: <CALaXqqRwgaQ+LhOi5W0AtFBQHX-r-o20iWcT3e5fWenaMi-1BA@mail.gmail.com> References: <CALaXqqRwgaQ+LhOi5W0AtFBQHX-r-o20iWcT3e5fWenaMi-1BA@mail.gmail.com> Message-ID: <02d6f0a28fb6daf51b26fcc5488c6694@bastelstu.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi Am 2025-03-24 19:33, schrieb Daniel Scherzer: > I'd like to start the discussion for a new RFC about allowing final > promoted properties. You can see some preliminary discussion at < > https://externals.io/message/126475>, but this is now an official RFC. I'm in favor of supporting all modifiers during promotion, but I don't particularly like the implicit promoting without also specifying the visibility, but given the precedent with `readonly` and hooks [1], it would at least be consistent. I'll probably abstain from a vote for that reason. Best regards Tim Düsterhus [1] The latter of which unfortunately was not specified in the RFC.