Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Fetch properties of enums in const expressions
»
RFC: Fetch properties of enums in const expressions
Project Governance
Author
ilutov
Target
8.2
This RFC proposes to allow the use of ->/?-> to fetch properties of enums in constant expressions. The primary motivation for this change is to allow fetching t...
Mailing List Discussions
[RFC][Under discussion] Fetch properties in const expressions
[RFC][Voting] Fetch properties of enums in const expressions
View Original
Add support for fetching properties of enums in constant expressions?
Overall Results
Yes
No
Yes
24 Votes (69%)
No
11 Votes (31%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes
24 Votes (69%)
alcaeus
crell
girgias
santiagolizardo
sergey
trowski
bwoebi
derick
kguest
kocsismate
mbeccati
timwolla
nicolasgrekas
ilutov
lbarnaud
ashnazg
reywob
seld
evvc
pierrick
nikic
danack
twosee
aaronjunker
No
11 Votes (31%)
alec
brzuchal
kalle
ocramius
beberlei
galvao
svpernova09
sebastian
asgrim
weierophinney
lcobucci