Re: (s|g)etStaticPropertyValue

From: Date: Sun, 06 Mar 2005 12:50:12 +0000
Subject: Re: (s|g)etStaticPropertyValue
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-15284@lists.php.net to get a copy of this message
At 13:26 06/03/2005, Timm Friebe wrote:
Hello, I saw there are two new ReflectionClass methods: * getStaticPropertyValue() * getStaticPropertyValue() How do these differ (excepting being one method call) from: $value= $reflectionClass->getProperty('instance')->getValue(); and $reflectionClass->getProperty('instance')->setValue($value); ? Instead of adding all kinds of feature bloat to the Reflection API, couldn't this be left to people who extend it?
I very much agree. Zeev

« previous php.internals (#15284) next »