Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-05 Thread Joe Watkins
Hi all, I have considered maps ... since it is possible to do in userland, I don't consider it super urgent, and even if you do, it doesn't become urgent until PHP 7.4 is much closer to release. So, we have almost a year; If this flies in, it's *highly* likely I'll follow it up ... but don't real

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-04 Thread Michael Wallner
On 03/02/2019 22:49, Christoph M. Becker wrote: > > Not sure about removal from the PHP manual. This may never have > happened before (except for PECL/idn which conflicted with ext/intl). > Might be better to discuss this on the doc mailing list. > > F'up2 > Oh, it happened. I deleted http-v

[PHP-DEV] Re: RFC Weakrefs

2019-02-04 Thread Andrea Faulds
Hi Joe, I like the idea of adding weak references to the PHP core (as opposed to PECL), so I'm generally in favour of this RFC. This type of feature which the engine must be aware of should be maintained as part of it — and it not requiring a PECL extension means it can actually be used by mu

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-04 Thread Andrea Faulds
Hello, Joe Watkins wrote: Already taken care of :) On a side note, at what point do we remove stuff from the manual/pecl, the weakref is extension is dead, can't work with current versions of PHP, and there was never a stable release ? I'm not even sure we have a mechanism to delete stuff from

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Christoph M. Becker
On 03.02.2019 at 20:05, Peter Kokot wrote: > On Sun, 3 Feb 2019 at 20:00, Joe Watkins wrote: >> >> On a side note, at what point do we remove stuff from the manual/pecl, the >> weakref is extension is dead, can't work with current versions of PHP, and >> there was never a stable release ? >> >> I

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Peter Kokot
Hello, On Sun, 3 Feb 2019 at 20:00, Joe Watkins wrote: > > Already taken care of :) > > On a side note, at what point do we remove stuff from the manual/pecl, the > weakref is extension is dead, can't work with current versions of PHP, and > there was never a stable release ? > > I'm not even sur

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Joe Watkins
Already taken care of :) On a side note, at what point do we remove stuff from the manual/pecl, the weakref is extension is dead, can't work with current versions of PHP, and there was never a stable release ? I'm not even sure we have a mechanism to delete stuff from pecl ... there's probably qu

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Christoph M. Becker
On 03.02.2019 at 19:39, Joe Watkins wrote: > Does that solve the problem for you Christoph ? Yes, calling the class WeakReference would be fine for me. -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Joe Watkins
Updated patch, name is WeakReference. Cheers Joe On Sun, 3 Feb 2019 at 19:39, Joe Watkins wrote: > Does that solve the problem for you Christoph ? > > Cheers > Joe > > On Sun, 3 Feb 2019 at 19:08, Robert Korulczyk wrote: > >> >> > I can't really think of another name ... it's ... a weakref ...

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Joe Watkins
Does that solve the problem for you Christoph ? Cheers Joe On Sun, 3 Feb 2019 at 19:08, Robert Korulczyk wrote: > > > I can't really think of another name ... it's ... a weakref ... > > It is actually "weak reference", so why not WeakReference? > > > Regards, > Robert Korulczyk >

Re: [PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Robert Korulczyk
> I can't really think of another name ... it's ... a weakref ... It is actually "weak reference", so why not WeakReference? Regards, Robert Korulczyk -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Joe Watkins
Afternoon Christoph, I can't really think of another name ... it's ... a weakref ... Probably using the PHP namespace makes most sense. Cheers Joe On Sun, 3 Feb 2019 at 18:40, Christoph M. Becker wrote: > On 02.02.2019 at 09:35, Joe Watkins wrote: > > > Some time ago I brought this up for dis

[PHP-DEV] Re: RFC Weakrefs

2019-02-03 Thread Christoph M. Becker
On 02.02.2019 at 09:35, Joe Watkins wrote: > Some time ago I brought this up for discussion, and last night was reminded > of it's existence, and so this morning rebased and reworked the patch a > little based on the feedback I got back then. > > Since it was long ago, and there's no particular r

[PHP-DEV] Re: RFC WeakRefs

2018-05-29 Thread Bogdan Padalko
On 5/17/18 9:09 AM, Joe Watkins wrote: Morning internals, I'd like to raise for discussion https://wiki.php.net/rfc/weakrefs Am I missing anything ? Cheers Joe Hi, Would we benefit having notification mechanism in weak references? I implemented such notification in https://github.com/pine