Home » Project » RFCs » Attributes »

RFC: Attributes

Project Governance
Author
Dmitry Stogov
Attributes (or annotations) are a form of syntactic metadata that can be added to language classes, functions, etc. PHP offers only a single form of such metada...

Accept PHP Attributes? (2/3+1 majority required)

Overall Results

Yes
No
Yes
14 Votes (39%)
No
22 Votes (61%)

Voting Timeline

Dates based on UTC

Voting Breakdown

What may be used as attribute value? (simple majority wins)

Overall Results

valid PHP expression (internally represented as AST)
valid PHP constant (number or string)
valid PHP expression (internally represented as AST)
11 Votes (39%)
valid PHP constant (number or string)
17 Votes (61%)

Voting Timeline

Dates based on UTC

Voting Breakdown

valid PHP expression (internally represented as AST)

11 Votes (39%)