PHP 8.5 alpha 1 is available for download
php.net
php.net
Obligatory: Raku supports pipe in both directions, passing input as the last parameter instead of requiring the function to take only one parameter. It also has a shorthand:
my @array = <7 8 9 0 1 2 4 3 5 6 7 8 9>; my @final-array = @array.unique.sort.reverse; say @final-array;
$foo |> str_replace('hello', 'hi', ?);
Not that I have any skin in that game anymore; I moved my stack from PHP years ago.