News for hackers. Stuff that matters.
Re:PHP 8.5 Adds Pipe Operator: What it means by troupo on Tuesday August 05, 2025 @09:16AM (#44797605)
Why didn't you format the pipes, too?

  $result = $arr
    |> fn($x) => array_column($x, 'tags')
    |> fn($x) => array_merge(...$x)
    |> array_unique(...)
    |> array_values(...)
vs

   array_values(
     array_unique(
       array_merge(
         ...array_column($arr, 'tags')
       )
     )
   );
With pipes you have linear sequence of data transformations. With nested function calls you have to start with innermost function and proceed all the way top the outermost layer.
Re:PHP 8.5 Adds Pipe Operator: What it means by qwertox on Wednesday August 06, 2025 @06:02PM (#44818381)
Because they were already formatted that way to begin with.