If you want to create an up-to-date function list for use with phpm, you'll need to update the manualparser.php recommended in the original article to work on PHP5. I'll tell you for free that this is going to be difficult: for starters the
original article is no longer properly online (there's a
cached version on the Wayback Machine) and the code is broken as it relies on a deprecated method of the DirectoryIterator class.
You'll also need to get hold of the PHP manual docbook source. All the instructions for doing so refer to old CVS users: SVN is used these days. This is what you need to know:
$ svn checkout http://svn.php.net/repository/phpdoc/modules/doc-en ./phpdoc-en
So, to save you time, I've suffered all the pitfalls and mended the code myself - it runs cleanly. You'll find it on
my GitHub along with more explanation in the README. Fetch the lot down, put it in the same directory as you download phpdoc-en and run parseit.php.
Here are some links to the resources I used: I'm mainly putting them here in the hopes that they will trackback to the various blogs and that people might actually find this...:
- Håvard Eide's
phpm post. Did he write the original version of this parser? I'm not sure, but he certainly wrote phpm
-
http://www.phpdeveloper.org/news/11663