Re: ReflectionFile missing
| From: | Ryan McCue | Date: | Mon, 30 Jan 2012 01:51:01 +0000 |
| Subject: | Re: ReflectionFile missing | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57562@lists.php.net to get a copy of this message | ||
Ryan McCue wrote:
> For some purposes, you need to be able to reflect files and classes
> without loading them, which I think is a huge gap in the Reflection API.
> That said, a proper ReflectionFile would be welcome, even if it did load
> the file.
Forgot to mention: it is also, as far as I know, impossible to get
file-level PHPDoc comments without writing a class similar to mine. (The
alternative is regex parsing, of course, but that's worse)
--
Ryan McCue
<http://ryanmccue.info/>