On 17 May 2018 07:09:28 BST, Joe Watkins <krak...@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] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php