RFC: Objects as hash keys

Project Governance
Author
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 ...

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