This is a demo project that was originally created as part of the SearchForms library. Since it may be of interest to others, outside the context of its original module, I have decided to release it also as a separate module under the GPL. It is extremely similar to Gareth Watts' excellent PHPXref. His project has a better parser, but ours produces output for a database that can be searched and displayed in interesting ways. phpdoc is a program that aims to do for PHP developers what Javadoc does for java developers. It is a script that parses PHP class definitions, extracting function and variable names, as well as comments, and dumping this data into a database. The script itself is built in perl, but PHP is used for search and display. Search is powered by SearchForms, display by EnzymeTemplates. Both are GPL modules released as part of the Enzyme open-source project at http://enzyme.sourceforge.net