Hi, Answering the question of Christopher Becker. It is not possible to traverse and get your desired elements. How would you achieve a foreach by key (returning object) without having to store a separate list and track by hash or through an interface?
Cheers, On Wed, Dec 17, 2014 at 10:04 AM, Derick Rethans <der...@php.net> wrote: > > On Tue, 16 Dec 2014, Stanislav Malyshev wrote: > > > I'd like to initiate a vote on "objects as keys" RFC: > > https://wiki.php.net/rfc/objkey > > I wonder why you opened voting on this, before resolving the "Open > Issues": > > Open Issues > > Should SplFixedArray support object indexes? > Should SplObjectStorage support calling __hash for an object if it > exists? > > cheers, > Derick > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Guilherme Blanco MSN: guilhermebla...@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada