Hello, everyone
I would like to present my new RFC proposing a new left-to-right assignment operator based on the pipe operator. PHP: rfc:left-to-right-assignment-operator
The idea was originally discussed at php.internals: Proposal. Pipeline assignment operator. Due to the mixed reaction, I opted to first submit a simpler RFC on the same topic—PHP: rfc:pipe_to_return (discussed at php.internals: [RFC] Pipe to return), while keeping this RFC in draft form for the time being.
However, with the creation of RFC PHP: rfc:pipe_assignment_operator (discussed at php.internals: [RFC] Pipe Assignment Operator), 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