Everything
php
Learn
Community
Releases
The PHP Project
Learn
Community
Releases
The PHP Project
Home
»
Project
»
RFCs
»
Objects as hash keys
»
RFC: Objects as hash keys
Project Governance
Author
stas
Author
krakjoe
In PHP array keys can be only represented as numbers and strings. However, there already are several classes that represent different kinds of numbers (such as ...
Mailing List Discussions
[RFC] Using objects as keys
[RFC][VOTE] Objects as Keys
View Original
Should we support using objects as keys as described in this proposal?
Overall Results
Yes, via method __hash
Yes, via method __toKey
No
Yes, via method __hash
6 Votes (20%)
Yes, via method __toKey
0 Votes (0%)
No
24 Votes (80%)
Voting Timeline
Dates based on UTC
Voting Breakdown
Yes, via method __hash
6 Votes (20%)
pajoye
pierrick
klaussilveira
stas
ab
mrook
Yes, via method __toKey
0 Votes (0%)
No
24 Votes (80%)
kalle
levim
bwoebi
derick
mbeccati
mike
pollita
aharvey
dragoonis
mfonda
salathe
nikic
ajf
reeze
leigh
fredemmott
guilhermeblanco
jedibc
dm
kriscraig
fa
bate
colder
mfischer