Re: Re: cvs: ZendEngine2 / zend_API.c zend_API.h zend_compile.c zend_compile.h zend_reflection_api.c

From: Date: Mon, 25 Apr 2005 19:29:30 +0000
Subject: Re: Re: cvs: ZendEngine2 / zend_API.c zend_API.h zend_compile.c zend_compile.h zend_reflection_api.c
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-16082@lists.php.net to get a copy of this message
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

« previous php.internals (#16082) next »