Re: Closure::getCurrent() for recursion

From: Date: Tue, 01 Apr 2025 09:02:25 +0000
Subject: Re: Closure::getCurrent() for recursion
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi

Am 2025-03-31 22:38, schrieb Ilija Tovilo:
Do you have thoughts or concerns with this solution? If not, I'm planning to merge it into master in a few weeks.
I don't particularly like this kind of “magic scope / backtrace introspecting” functions, but it certainly is a pragmatic solution (and there's sufficient precedent, including Fiber::getCurrent()). Best regards Tim Düsterhus

Thread (15 messages)

« previous php.internals (#126997) next »