[RFC] Pipe to return
| From: | Vadim Dvorovenko | Date: | Sat, 31 Jan 2026 05:52:16 +0000 |
| Subject: | [RFC] Pipe to return | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-129964@lists.php.net to get a copy of this message | ||
Introducing Pipe to return RFC
https://wiki.php.net/rfc/pipe_to_return
In short, RFC proposes piping expression result to
return to be used together with pipe operator to reduce cognitive load
"Hello World" |> strlen <http://www.php.net/strlen>(...) |> return;
--
Vadim Dvorovenko