Hello, everyone

I would like to present my new RFC proposing a new left-to-right assignment operator based on the pipe operator. https://wiki.php.net/rfc/left-to-right-assignment-operator

The idea was originally discussed at https://news-web.php.net/php.internals/128141. Due to the mixed reaction, I opted to first submit a simpler RFC on the same topic—https://wiki.php.net/rfc/pipe_to_return (discussed at https://news-web.php.net/php.internals/129964), while keeping this RFC in draft form for the time being.

However, with the creation of RFC https://wiki.php.net/rfc/pipe_assignment_operator (discussed at https://news-web.php.net/php.internals/131849), which also proposes using the `|>=` sequence in an incompatible with my RFC way, I am revisiting this matter now so that all ideas regarding the expansion of the pipe operator can be discussed together and result in a consentient set of language constructs.


Perhaps, before discussing any of the mentioned RFCs in detail, we should conduct a general review of possible options for further extending the pipeline operator.

--
--
Vadim Dvorovenko

Reply via email to