You appear to want a PHP parser that can export particular details of what has been parsed.
Our Semantic Designs PHP Front End provides a full PHP 4/5 parser (as of 2016 includes PHP 7). It parses PHP source code, builds abstract syntax trees, stamping each node with precise location information, and makes them available for further use. One general thing it can do is to print out any subtree back as the original text.
In your case, you'd want to scan over the trees, find the classes/methods/properties (as tree nodes) and print their source text, along with the location information. I think that would deliver exactly what you want.