Open RFCs

new MyClass()->method() without parentheses

Chain method on newly created objects without parentheses

78% 22%
46 yes
13 no
Property Hooks

A new way of interacting with properties

61% 39%
122 yes
78 no
The Pipe Operator

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

68% 32%
262 yes
122 no

Argument of the Day


Every time I find myself typing new MyClass() and than returning back and adding those parentheses. It would be good to reduce this friction and make PHP coding flow smoother.

Read the RFC: new MyClass()->method() without parentheses pronskiy avatar
voted yes
RSS Feed Contribute Watch on YouTube Our License
© 2024 RFC Vote. This project is open source. Contribute and collaborate with us!