Re: [PHP-DEV] [RFC] Pipe Assignment Operator

[email protected] (Tim Düsterhus) Mon, 13 Jul 2026 16:11:16 +0200
Newsgroups php.internals
Message-ID <[email protected]>
Hi

On 2026-07-10 06:45, Caleb White wrote:
> I'd like to open discussion on my (first!) RFC for the pipe assignment 
> operator (|>=):
> https://wiki.php.net/rfc/pipe_assignment_operator
> 
> It adds a compound assignment form of the pipe operator, so that
> $x |>= callable is shorthand for $x = $x |> callable, with
> support for chaining. Implementation with tests is at:
> https://github.com/php/php-src/pull/22633

Quick note regarding formalities: The voting widget was missing the 
“Abstain” option, which I just added for you.

I haven't yet looked at the RFC contents.

Best regards
Tim Düsterhus