There is a complementary Partial Function Application RFC which, among other things, solves the one-parameter limitation. It allows a question mark to be substituted in for the piped value:

$foo |> str_replace('hello', 'hi', ?);

https://wiki.php.net/rfc/partial_function_application_v2