Re: Consensus gathering: allowing unsetting of backed property hooks

From: Date: Wed, 26 Feb 2025 16:03:09 +0000
Subject: Re: Consensus gathering: allowing unsetting of backed property hooks
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, Feb 26, 2025 at 2:02 PM Rob Landers <[email protected]> wrote:
>
> I do think it makes sense to have an unset hook though, so long as it is thought out well. For
> example, would the unset hook be called automatically during garbage collection?

I would be very wary of adding more ways for destruction to be
observable. Destructors themselves cause enough issues in the engine
as is.

Ilija


Thread (8 messages)

« previous php.internals (#126513) next »