Re: [RFC] Add WeakMap

From: Date: Wed, 04 Dec 2019 18:50:56 +0000
Subject: Re: [RFC] Add WeakMap
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-107896@lists.php.net to get a copy of this message
On Mon, Nov 4, 2019 at 2:22 PM Nikita Popov <nikita.ppv@gmail.com> wrote: > Hi internals, > > This is a follow up to the addition of WeakReference in PHP 7.4. > WeakReference is an important primitive, but what people usually really > need are weak maps, which can't be implemented on top of WeakReference (at > least, not as exposed in PHP). > > This RFC proposes to add a native WeakMap type for PHP 8: > https://wiki.php.net/rfc/weak_maps > > Regards, > Nikita > Any comments on this proposal? Otherwise this could head to voting... Nikita

« previous php.internals (#107896) next »