Re: [RFC] UString

From: Date: Thu, 23 Oct 2014 08:11:57 +0000
Subject: Re: [RFC] UString
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-78259@lists.php.net to get a copy of this message
On Tue, 2014-10-21 at 10:30 -0700, Stas Malyshev wrote: > Hi! > > > I wish there was a way for specific objects to opt into this. > > There will be, if __hashKey() or whatever would be the properly > bikeshedded name, becomes reality as discussed elsewhere. It shouldn't > be hard to do and it's exactly what many other languages do when trying > to use objects as keys for maps. > > Not ready for discussion yet ... https://wiki.php.net/rfc/hashkey But it exists, I think it solves a problem for ustring in particular but it solves the problem in general too. No time to write about it or discuss it at this moment, but in pipeline, hopefully ... Cheers Joe

« previous php.internals (#78259) next »