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

Holly Schilling <[email protected]> Mon, 13 Jul 2026 15:54:36 +0000
Newsgroups gmane.comp.php.devel
Message-ID <[email protected]>
I won’t get to vote on this RFC, but I wanted to give my brief opinion. To be fair, my initial opinion was that I loved the symmetry of this along with `+=`, `-=`, and similar operators, but really hated how I assumed it was likely be used. I started typing up a message showing examples of how it could be used, but as I did I fell in love with it. 

It’s a little annoying to type on the standard US Keyboard layout, but its readable as a syntax and has a clear meaning once understood. This is the example that made me really love the <<Exploding Volcano>> operator (with PFA):

```
$array |>= array_map(transform(…), …);
```

Holly