rfc:objkey

This is an old revision of the document!


PHP RFC: Objects as hash keys

Allow objects to serve as hash keys (to be filled in)

Introduction

Proposal

Backward Incompatible Changes

Should not break anything as we don't allow this now.

Proposed PHP Version(s)

Targeted for PHP 7

RFC Impact

To SAPIs

No impact on SAPIs

To Existing Extensions

If somebody implements something like ArrayAccess they may want to update it to accommodate objects.

To Opcache

Since objects are run-time, should not have any effects on opcache.

New Constants

None.

php.ini Defaults

None.

Open Issues

???

Proposed Voting Choices

New magic method requires 2/3 majority.

Patches and Tests

TBD

Implementation

TBD

References

Rejected Features

None

rfc/objkey.1413914210.txt.gz · Last modified: 2017/09/22 13:28 (external edit)