Reading from https://wiki.php.net/rfc/shorter_attribute_syntax_change...
6 Candidates (in order of ballot)
- @@Attr
- #[Attr]
- @[Attr]
- <<Attr>>
- @:Attr
- @{Attr}
🗒️ Info
Votes |
65 |
Seats |
1 |
Quota |
floor(65 / (1 + 1)) + 1 = 33 |
Round #1
Candidate |
Tally |
@@Attr |
9 |
#[Attr] |
32 |
@[Attr] |
13 |
<<Attr>> |
6 |
@:Attr |
1 |
@{Attr} |
4 |
⛔ Eliminated (1 votes)
Round #2
🔀 Transfers
Candidate |
Tally |
@@Attr |
10 |
#[Attr] |
32 |
@[Attr] |
13 |
<<Attr>> |
6 |
@{Attr} |
4 |
⛔ Eliminated (4 votes)
Round #3
🔀 Transfers
- @[Attr]: +1
- #[Attr]: +2
- <<Attr>>: +1
Candidate |
Tally |
@@Attr |
10 |
#[Attr] |
34 |
@[Attr] |
14 |
<<Attr>> |
7 |
#[Attr] elected with 1 surplus votes 🎉
Why @@ is the best attribute syntax for PHP