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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php