Hello Duncan,
Monday, April 25, 2005, 12:10:08 PM, you wrote:
> Guys,
> These patches don't work for inheritance.
> E.g.
> <?
> class a {
> /**
> * This is the base class
> **/
> public $a;
> }
> class b extends a {
> /**
> * This is the extending class
> **/
> public $a;
> }
> $prop = new ReflectionProperty("a","a");
> echo "BASE: ".$prop->getDocComment()."\n";
> $prop = new ReflectionProperty("b","a");
> echo "EXT : ".$prop->getDocComment()."\n";
?>>
> Prints:
> BASE: /**
> * This is the base class
> **/
> EXT : /**
> * This is the base class
> **/
> I have patches to fix. You want?
Of course, send them over as a .txt attachment (diff -u) or pot them
online somewhere.
best regards
marcus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php