Re: [RFC] __debug_info()

From: Date: Tue, 21 Jan 2014 21:50:20 +0000
Subject: Re: [RFC] __debug_info()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-71386@lists.php.net to get a copy of this message
On Tue, Jan 21, 2014 at 1:42 PM, Will Fitch <willfitch@php.net> wrote: > On Tue, Jan 21, 2014, at 01:26 PM, Sara Golemon wrote: >> Something new to argue about: >> >> https://wiki.php.net/rfc/debug-info > > This is a really good idea. This will allow customization of the debug > info, and reflection to Reflection. That said, how/should this > functionality be integrated info Reflection? For example, > ReflectionClass::getDebugInfo()? > I think it'd make sense to add that as well, yes. Regardless of whether or not this RFC gets accepted, in fact. As to how, I'd treat that method just like getProperties() (Creating an array of ReflectionProperty objects), just from a different source. -Sara

« previous php.internals (#71386) next »