Morning Rowan,

I've updated the RFC with a description of the API and comparison to the
current WeakRef API documented by the pecl extension.

Example code can be found in tests also ...

Cheers
Joe

On Thu, May 17, 2018 at 9:36 AM, Rowan Collins <rowan.coll...@gmail.com>
wrote:

> 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
>
>

Reply via email to