On Tue, Oct 1, 2024, at 10:39 AM, K Sandvik wrote: >> On Oct 1, 2024, at 5:12 AM, Arnaud Le Blanc <arnaud...@gmail.com> wrote: >> >> Some use-cases of destructors could be replaced with patterns like >> Python's with() [3], Java's try-with [4], or Go's defer [5]. > > defer would be neat in PHP. --Kent
I would have said with() would be neat in PHP. :-) --Larry Garfield