Re: [RFC] Pass Scope to Magic Accessors

From: Date: Tue, 24 Jan 2023 11:08:36 +0000
Subject: Re: [RFC] Pass Scope to Magic Accessors
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-119414@lists.php.net to get a copy of this message
On Mon, 23 Jan 2023 at 16:27, Nicolas Grekas <nicolas.grekas+php@gmail.com> wrote: > > Legit concerns. I'm going to prepare a more extensive use case so the > motivations of RFC become more obvious. > > I'll get back on this thread when ready. Stay tuned :) Please can you look at implementing it as a function, that returns a more usable set of data than debug_backtrace does. This does sound like useful functionality in other cases than __get. If the amount of data returned by including all the backtrace is a concern, that sounds to me like including an max number of frames would solve that? cheers Dan Ack

« previous php.internals (#119414) next »