PHP unix man pages
A recent post from php.net explains a tool I didn’t know existed pman. Unix man pages of PHP functions.
This little tool makes accessing manual pages for PHP functions incredibility fast.
Installation is very easy:
# using pear to install the tool
$ pear install doc.php.net/pman
# use the command pman followed by the function name
$ pman strlen
This example instantly displays a unix style man page loaded locally of the strlen docs.
This is a great way of keeping a local copy of PHP docs for those times when you can’t access php.net.
I also find the unix style man docs easier to read. After all you only need to get used to reading one style of manual page (although php.net manual style has been some of the best I’ve come across).