Re: [RFC] Pipe Assignment Operator

From: Date: Wed, 22 Jul 2026 14:54:24 +0000
Subject: Re: [RFC] Pipe Assignment Operator
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-132080@lists.php.net to get a copy of this message
Hi On 2026-07-21 06:18, Caleb White wrote:
So the behavior is consistent with ??=. Bob, your observation about optimizing intermediate chain fetches with ad-hoc references is interesting, but that would be an improvement to all compound assignment operators, not something specific to |>=. I've updated the RFC to clarify this in the Single-Evaluation Guarantee section.
Thank you. The clarification makes sense to me and I don't have further comments on the RFC. As indicated in https://news-web.php.net/php.internals/132049, your RFC could still be included in PHP 8.6. Even with this clarification, which is a “minor change” you would be just in time. Any further change to the RFC text will miss the deadline. *If* you want to try to get into PHP 8.6, you'll need to open voting on the 28th of July very shortly after 04:18 UTC until August 11th the same time + a bit of buffer. You will also need to send an intent to vote email at least 48 hours before that. The decision is up to you. I just wanted to provide you with all the necessary information as a first-time RFC author to make an adequate decision. Best regards Tim Düsterhus

« previous php.internals (#132080) next »