Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129896 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 5F8AD1A00BC for ; Fri, 23 Jan 2026 15:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1769183355; bh=eU/eZMoto+PCDmFv24de1R/F2Dh2XbQHZuI9ymVKs1k=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=A5fD/g6poDtVW4P734bTIeTAr0uQqHPvSJyVkpo1/qo8q0JH2q0b2oQoP6dlnqoHD 6O/3faAVq3hw7rSsljYwJFx+MQ9SsQrFgQ/5mN4GyJtU/8N9Z1aUBZEHAdQWNh1gvN YONqpkDslGD5fNtBlOYR14wTA19dOEtHbJNVdPj1kwMTp/3TxvJ7jOVbmiggrASTR0 1TqXgyNPrk6WJ2xjFFPEY4wzNF3SINvPO+O/3Hlm0EZdMozB7yy6s7aXDdrkf1K+CD COWSlaEqTjRzEmI1cKH06w0ZZmoyNi1gHEC/ChzsXDep/JVDi+h7YNJs1XQKcMkioe tcZ7WJkcp1Gxw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2ECD11801EC for ; Fri, 23 Jan 2026 15:49:12 +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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fout-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) (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 ; Fri, 23 Jan 2026 15:49:09 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 599E21D00070; Fri, 23 Jan 2026 10:49:04 -0500 (EST) Received: from phl-imap-08 ([10.202.2.84]) by phl-compute-06.internal (MEProxy); Fri, 23 Jan 2026 10:49:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=josephleedy.dev; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1769183344; x=1769269744; bh=eU/eZMoto+PCDmFv24de1R/F2Dh2XbQH ZuI9ymVKs1k=; b=NP9AN9uhcsg8t8dth14hZglIakYIyz3cLekx7L3PnjAtPZjm CVwYWQGtzdpX4AopaM3zW7xVn1rGIM/LeTnRGgA3BdjHE2R1F6ofhY24O3Rd/HCC 1vNC3yyL0zvYKdtLg10GAf8pz7qHDchgT/0/RHcL9ZXnlNQyZF0usQwjCynCt96W iJyONtbAk7vjQQWOV8LKO2hU2BsDiqBIL9Hr0nIhDkQz8gbDpQGOTy7S5f3EFR4W nX7l9/7D6zI1RehvC4bNKCC4KXxeuMAL1m2T8U40lxnMR7asGNclAt3h7zuStGn+ XpL9laz0BHVFNNuAS23T/pMny90754Bio5PZqA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1769183344; x= 1769269744; bh=eU/eZMoto+PCDmFv24de1R/F2Dh2XbQHZuI9ymVKs1k=; b=O TtRQVoAbYVwYiv2+CVD2r0xo3PukNgxq1gNvZiTtYWAtHQfvtwafoGeY+nc0yJ53 M7jC+kMI5tT137pSoCj6YpG2MFM6t+Nq7NCF4vA5aoItY9Hpc6QIxtU9DIpWk2qk Yvr7wojHvsJF4qwbJYs15eQdLv+ymcAjVLiiA/CJOLOUEWKSKiTP8aIOBvxceFCE VR2GljsyK89HVcoSRpTBoZBWkUVt3Z+oEshpCKHzeucI+dpfKODYGRgpF21B0/hK qES+hytgvBJb8WmmHWZH6XW5EYZCn+/JonsuqpjkYlhPnsiPc+KEuzcOrWqltn+V TIGM66XybxGlqpFAB6IuA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddugeelgeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucenucfjughrpefoggffhffvvefkjghfufgtgfesthhqre dtredtjeenucfhrhhomhepfdflohhsvghphhcunfgvvgguhidfuceojhhoshgvphhhodhp hhhpsehjohhsvghphhhlvggvugihrdguvghvqeenucggtffrrghtthgvrhhnpeevvdevie dtffeluefftedvkedtudefheffjeelhffggfffgeduvdffffevfeekueenucffohhmrghi nhepphhhphdrnhgvthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjohhsvghphhdophhhphesjhhoshgvphhhlhgvvgguhidruggvvhdpnhgs pghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepthhimhessg grshhtvghlshhtuhdrsggvpdhrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdr phhhphdrnhgvth X-ME-Proxy: Feedback-ID: i75064821:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 022432CE0072; Fri, 23 Jan 2026 10:49:03 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: AQiDJi6B_K-Z Date: Fri, 23 Jan 2026 08:48:43 -0700 To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: internals@lists.php.net Message-ID: <31358817-d0bd-4dd2-81fc-4c814a7784a0@app.fastmail.com> In-Reply-To: <48689ab4ab0bb680ff9457e406490fa5@bastelstu.be> References: <3665e8eb-db54-421b-8ffe-e3b1902caf09@app.fastmail.com> <48689ab4ab0bb680ff9457e406490fa5@bastelstu.be> Subject: Re: [PHP-DEV] Re: [VOTE] let construct (Block Scoping) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: joseph+php@josephleedy.dev ("Joseph Leedy") On Fri, Jan 23, 2026, at 01:20, Tim D=C3=BCsterhus wrote: > I'd like to note that while the two RFCs share some of the scope,=20 > neither is a direct replacement of the other. I think Rowan previously=20 > summarized it well in this email:=20 > https://news-web.php.net/php.internals/129630. > > The focus of the =E2=80=9Clet construct (Block Scoping)=E2=80=9D RFC i= s enabling block=20 > scoping - as the name implies. The examples in the =E2=80=9CExamples=E2= =80=9D section of=20 > the RFC are intended to reflect some real-world situations where eithe= r=20 > Seifeddine or I would've liked to have block scoping. Except for the=20 > =E2=80=9Cprocess_file()=E2=80=9D example, I don't believe the Context = Manager RFC (as=20 > currently proposed) would be a suitable replacement. > > Best regards > Tim D=C3=BCsterhus My apologies for the confusion. Thank you for the clarification, Tim. I = retract my previous statement.