Re: Possible RFC: UniqueInterface that throws exception at refcount > 1

From: Date: Sat, 11 Jul 2020 15:30:19 +0000
Subject: Re: Possible RFC: UniqueInterface that throws exception at refcount > 1
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-110947@lists.php.net to get a copy of this message
On Sat, Jul 11, 2020 at 8:56 AM Rowan Tommins <rowan.collins@gmail.com> wrote: > (and, funnily enough, PHP 4 did for objects). The funny thing about it for me is that this behavior caused me to throw such a fit when I discovered it -- more to say burned by it -- that I swore off PHP forever at the time. Now I actually want this behavior back, though as an opt-in. Maybe that would address some of the intent of this proposal. It'd be easier to know with some solid examples. --c

« previous php.internals (#110947) next »