Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Object Initializer
»
RFC: Object Initializer
Project Governance
Author
brzuchal
PHP doesn't have a convenient literal syntax for creating an object and initializing properties. This makes creating objects and initializing their state quite ...
Mailing List Discussions
[RFC] Object Initializer
[VOTE] Object Initializer
View Original
Accept object initializer?
Overall Results
Yes
No
Yes
3 Votes (10%)
No
26 Votes (90%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
3 Votes (10%)
brzuchal
klaussilveira
mariano
No
26 Votes (90%)
alcaeus
duncan3dc
levim
ocramius
galvao
kguest
mbeccati
svpernova09
sebastian
pmjones
mike
ashnazg
reywob
patrickallaert
kinncj
kelunik
pierrick
salathe
stas
colinodell
jasny
malukenho
zimt
jpauli
frozenfire
bs
Choose between two tokens as an assign operator in object initializer block?
Overall Results
=
=>
=
16 Votes (89%)
=>
2 Votes (11%)
Voting Timeline
Dates based on UTC
Voting Breakdown
=
16 Votes (89%)
alcaeus
brzuchal
girgias
ocramius
derick
galvao
kguest
svpernova09
ashnazg
reywob
kinncj
klaussilveira
colinodell
malukenho
mariano
frozenfire
=>
2 Votes (11%)
kalle
salathe