Re: [PHP-DEV] [RFC] Pipe Assignment Operator
[email protected] (Bob Weinand) Mon, 20 Jul 2026 16:38:18 +0000
| Newsgroups | php.internals |
|---|---|
| Message-ID | <[email protected]> |
Hey Caleb, > Am 20.07.2026 um 04:11 schrieb Larry Garfield <[email protected]>: >=20 > Impressively, I think this explanation stated my position better than I c= ould. :-) Yes, I am in favor of pushing PHP in a more-functional, mostly-i= mmutable direction (without going all the way to pathological purity like i= n Haskell). A variant of pipe that is intrinsically built on mutable varia= bles goes against the intent. Yes, PHP is not an inherently immutable lang= uage today, but you can easily use it that way if you're careful and know w= here the edges are where you shouldn't. >=20 > I think the above description has actually pushed me over into the No cat= egory on this RFC. (Which doesn't mean I'm necessarily in favor of the alt= ernate |>=3D proposal. I'm still pondering that one.) >=20 > I do agree that some longer-term planning around what alternate pipe form= s make sense is wise, and a conversation I'm open to having. But not for a= few weeks, as we should be focused on 8.6 at the moment, and none of these= will make it into 8.6. >=20 > --Larry Garfield sorry that you had to read this mail; Larry often has ideas that don't work= well in practice - and then core devs have to shoot this down. Please just= ignore this. Bob=