Re: Proposal. Pipeline assignment operator

From: Date: Sun, 20 Jul 2025 10:06:27 +0000
Subject: Re: Proposal. Pipeline assignment operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-128142@lists.php.net to get a copy of this message
Hi Vadim

The example where |> is used to assign to a variable seems not possible to me.
It will lead to an ambiguity when $result is a callable for example.
Therefore, |>= is the only possibility of the two your proposed.

Kind regards
Niels


Thread (6 messages)

« previous php.internals (#128142) next »