On Mon, 2012-10-08 at 11:52 +0000, Clint Priest wrote:
> It's been a while since I posted any updates about this, a few individuals 
> have been asking about it privately and wanting me to get it out the door for 
> PHP 5.5 release.  It's come a long way since the last time I posted about it.
> 
> RFC Document: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented

About the items in regards to reflection in there:

The RFC states
        ReflectionClass::getMethods() will not return accessor functions
        (hides implementation detail).
Up until now reflection is leaky and is telling the truth. We should
either keep that or completely clean up reflection. (mind also
get_class_methods() and such)

The RFC also introduces a new class ReflectionPropertyAccessor and has
methods returning ReflectionProperty and ReflectionPropertyAccessor.
there should either be a common base class or interface (see i.e.
ReflectionFunctionAbstract)

What will  ReflectionPropertyAccessor->getGetter()->getName() return? I
guess reflection will be leaky there? (see first item)

johannes


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to