On Thu, May 17, 2018 at 8:10 AM Joe Watkins <krak...@php.net> wrote: > Morning internals, > > I'd like to raise for discussion https://wiki.php.net/rfc/weakrefs > > Am I missing anything ? >
I'm all for implementing all this natively, the way it was implemented in pecl-weakref always felt hackish and brittle. That said, if the plan is to subsume pecl-weakref, I suggest we also reimplement weakmaps, which offer a convenient way of storing meta/cache data and is not implementable in userland without trade-offs. Best, > > Cheers > Joe