Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129895 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 B48651A00BC for ; Fri, 23 Jan 2026 15:47:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1769183264; bh=iEF+3JyxZnDv7kPxE7zKOvMRAkGnr7ZCPo/BwExTPv4=; h=Date:From:To:In-Reply-To:References:Subject:From; b=DRoVk8uQZZbyoOu3FMY9kaye/NlaY03Ang2mSopyBazflNf3GNOggN86BFTJSJmwB YTtetDuQFqUUrhe4caX+kOnz2En0QBiPfHpnaKtnniUu7DPkyzy1zwsPW6tI5KC1rb od6QJE0FijDlS1ZUS0dS1m0qAU0Zo0ilit0+ItN5IywX1uX1ZMni72VjsicO/jPYcK /HV35LFGbM1xVEQEClTYQqf088vdh8jDlrfIn7Ytmx+H8AedTDe3YuzAQQLUNjDG+6 oWqXYB/Lnpgxbm23LLvv8wp+pE/oATc0HYRGtLPLlBbyXIpy8Rj8jyLFEzia7U0PVe treIylj5mcgIw== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 8B252180088 for ; Fri, 23 Jan 2026 15:47:43 +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_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) (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:47:43 +0000 (UTC) Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 105A17A001B for ; Fri, 23 Jan 2026 10:47:38 -0500 (EST) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Fri, 23 Jan 2026 10:47:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=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=fm2; t=1769183257; x=1769269657; bh=zlGUOny5P9vtZg+sqooAM 6a5HiJiQKjxsKPuVMvqyi8=; b=XzIw3khXU+8pGQS5ELUQAtswte/JLyzBHoL0k OeSIFUl46Cd2hGrojGI9DIIdFRe3hRT9EtKapYTxKyxXjg4xqVAE4/HbRFpbPh9w L5M5HkRknrshDryvyeU2cfcEd8EsuTgxoAIJuOUpAGxNpQ+F4sSQRJA0E1xelHmW 5QiNfrOx6tDxt5Z8mXIk+ioRfTITbut332Ma8ktQrPN+XpBZpzKTjukciqI+AW4S 960G68I3Uur4zrfEcOE3BYWj61uGueGVPl46zX3yCi7t1c+UEHSHFVwQo3DVvzEH x0m42rl3tlBIUEnkC54vKQeNF+NrCZDPztG99oxL46Yl0EHXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1769183257; x=1769269657; bh=z lGUOny5P9vtZg+sqooAM6a5HiJiQKjxsKPuVMvqyi8=; b=0XAPvQtsoiJTrC8Cy AKoE7E38nymF05wV3G6ZGbD0okH2DiKzjHt4dXda4wN42mxmssrhlNXel73mRG1j NBE357rEY2x7Rim2FzsbNLaiFTkNn3Kz0M6REPSO4f32Rt9i4PDOPmK9o8ThMqkg O+5tuFMPDT0zgsOh8Aziau56SBjAzI2oBfihqLVExvsPbTAwcmOxYErf/yV7Ebte 94k4BDfJlCcSZYRz1wGvJDgExZuT38RyrsLLnU7RoKs9fi8ph4LJCq38U8XA08IU NC/GBTnLffpRZ5nwR8+89ocODNgiglr15OqpIGk3MWNUvP3AGZkRXC1tQDhYOI3f DHaCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddugeelgeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepofggfffhvffkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdfnrghrrhih ucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhmqe enucggtffrrghtthgvrhhnpeeugfetieejueevffdulefhhfethfekvedtueevgfffvdef iedvtefgheevteelffenucffohhmrghinhepphhhphdrnhgvthenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghl ughtvggthhdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepihhnthgvrhhnrghlsheslhhishhtshdrphhhphdrnhgvth X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 66E60700065; Fri, 23 Jan 2026 10:47:37 -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: AwYpyWzRIPe7 Date: Fri, 23 Jan 2026 09:47:16 -0600 To: "php internals" Message-ID: <3afc1bd6-7515-4ae7-a2d4-dd4e08917746@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: larry@garfieldtech.com ("Larry Garfield") On Fri, Jan 23, 2026, at 2:20 AM, Tim D=C3=BCsterhus wrote: > Hi > > Am 2026-01-23 00:29, schrieb Joseph Leedy: >> While I appreciate all of the hard work that Seifeddine and you put=20 >> into this RFC, Tim, if I had the power to vote, I would vote "No" on=20 >> this RFC as I like the approach laid out in the Context Manager RFC=20 >> much better.. Thank you both! > > 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. As currently written, yes. However, as noted previously in the Context = Manager thread we are open to allowing arbitrary values in the CM positi= on, which would fall back to just using that value and then unsetting it= . That would effectively replace the `let` syntax entirely with a unifi= ed syntax. I have also voted No on this RFC, for many of the reasons already stated: * The functionality is too limited. * The functionality is inherently unreliable due to value escape. * The syntax is far too non-standard and clumsy. * Expanding CMs to fully encompass the behavior of this RFC is trivial, = which would avoid redundant and confusing syntax. --Larry Garfield