Re: [RFC][Discussion] Closure optimizations

From: Date: Sat, 31 Jan 2026 16:35:44 +0000
Subject: Re: [RFC][Discussion] Closure optimizations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-129967@lists.php.net to get a copy of this message
Hi Claude On Sat, Jan 31, 2026 at 2:31 AM Claude Pache <claude.pache@gmail.com> wrote: > > > Le 31 janv. 2026 à 00:43, Ilija Tovilo <tovilo.ilija@gmail.com> a écrit : > > > > https://wiki.php.net/rfc/closure-optimizations > > The examples of the RFC all use the function () { } construct. > I guess it does also apply to closures constructed with fn() => ? Yes, the same applies to arrow functions. I clarified in the text and added a short example. Ilija

« previous php.internals (#129967) next »