Re: RFC WeakRefs

From: Date: Thu, 17 May 2018 07:36:09 +0000
Subject: Re: RFC WeakRefs
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-102112@lists.php.net to get a copy of this message
On 17 May 2018 07:09:28 BST, Joe Watkins <krakjoe@php.net> wrote: >Morning internals, > >I'd like to raise for discussion >https://wiki.php.net/rfc/weakrefs Hi Joe, Sounds exciting! What does this look like from userland? I'm guessing you wrap the object you want a weak reference to in a special container? If so, has there been any previous discussion of baking it further into the language, e.g. as a keyword to wrap, and an implicit unwrap? Obviously something that could be revisited later, just curious if it's been considered. Cheers, -- Rowan Collins [IMSoP]

« previous php.internals (#102112) next »