Open RFCs

The Pipe Operator

The "pipe operator" |> allows you to chain multiple function calls in a more convenient way.

73% 27%
179 yes
65 no
Short Closures 2.0

This RFC proposes a way to have multi-line short closures — closures that don't need explicit use statements, but can still have multiple lines and a return statement.

85% 15%
283 yes
50 no
Interface Default Methods

Interface Default Methods improves backwards compatibility when changing interfaces, but also add a way to have multi-inheritance in PHP.

42% 58%
149 yes
204 no

Argument of the Day


As written this feels too close to multiple inheritance. We already have traits. Why not allow an interface to reference a trait as the default implementation and then allow a class to optionally use that trait through the interface reference.

Read the RFC: Interface Default Methods jstoks avatar
voted no
RSS Feed Contribute Watch on YouTube Our License
© 2023 RFC Vote. This project is open source. Contribute and collaborate with us!