PHP 8.5 Adds Pipe Operator: What it means
PHP 8.5, due out November of this year, will bring with it another long-sought-after feature: the pipe operator (|>). It's a small feature with huge potential, yet it still took years to happen.
What is a pipe operator?
The pipe operator, spelled |>, is deceptively simple. It takes the value on its left side and passes it as the single argument to a function (or in PHP's case, callable) on its right side:
$result = "Hello World" |> strlen(...)
// Is equivalent to
$result = strlen("Hello World"...
Read more at thephp.foundation