[RFC] Pipe Assignment Operator
PHP Internals ([RFC]/[VOTE]) · July 10, 2026
curated by Georg
The RFC proposes a compound assignment form of the pipe operator: $x |>= callable becomes shorthand for $x = $x |> callable. Chaining is supported. An implementation including tests has been submitted as a pull request against php-src, and discussion is open on the internals list.
AI-generated summary (Georg) · editorially responsible: J. Fuchs · How we use AI