Open RFCs

new MyClass()->method() without parentheses

Chain method on newly created objects without parentheses

78% 22%
35
46 yes
13 no
Property Hooks

A new way of interacting with properties

61% 39%
64
122 yes
78 no
The Pipe Operator

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

68% 32%
90
262 yes
122 no

Argument of the Day

7

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.

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