I've spent some time playing around with the reflection API. For testing it I wrote an extended syntax highlighter (if you like very ugly PHP source you can have a look at [1]) Now I'm missing a method like
public int Reflection_Property::getLine()
which acts something like the Reflection_[Class|Function|Method]::getStartLine and returns the line number where a property was defined (a getStartLine() and a getEndLine() would work, too but imho for properties a single line would be enough). Since I neither know the Zend Engine internals nor C well I can't see wether this method can be implemented easily - but if I would realy like to have it within Beta 3 (so it can be part of PHP5.0.0).
johannes
[1] http://schlueters.de:8000/phpstuff/php5/prepend.php
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php