On Fri, Jan 23, 2026, at 2:20 AM, Tim Düsterhus wrote:
> Hi
>
> Am 2026-01-23 00:29, schrieb Joseph Leedy:
>> While I appreciate all of the hard work that Seifeddine and you put 
>> into this RFC, Tim, if I had the power to vote, I would vote "No" on 
>> this RFC as I like the approach laid out in the Context Manager RFC 
>> much better.. Thank you both!
>
> I'd like to note that while the two RFCs share some of the scope, 
> neither is a direct replacement of the other. I think Rowan previously 
> summarized it well in this email: 
> 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 position, which would 
fall back to just using that value and then unsetting it.  That would 
effectively replace the `let` syntax entirely with a unified 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

Reply via email to