I love the operator and the feature... I hope it will get approved and implemented in 8.5. In addition, I also wish that PHP becomes a strictly typed language one day, for everything, by default, not only for Class properties, function/method arguments and return types, but also for local variables and constants. Then Generics would be possible as well (I think). And I also wish, one day, all native types are also Classes, such as String, Int, Float, Bool, etc. So this would be possible: `$text = " some text "->trim()->toUppercase();` for example.
If you use ligatures, it looks a bit better
It doesn’t look ugly. I’m glad this feature is coming
I remember the days when namespaces were introduced to php. Damn I was furious. I WILL NOT USE SOMETHING THAT LOOKS LIKE A DUMP OF WINDOWS REGISTRY! Now look at me, happy to see the |> operator from elixir :D
I’m looking forward to it!
In almost every language that has pipe operator it looks quite good and concise. Not in Hack and PHP. I guess this is because if you combine pipe operator syntax with actually ugly PHP syntax - this is like big combo 😅😂
@Yogarine