Php document updates. Simple trial experience: install pman and use the legendary pear to install pmansudopearinstalldoc. php. netpman. if the pear version is old, you need to upgrade pear to continue the simple trial of sudope as follows:
Install pman
Install pman using the legendary pear
Sudo pear install doc.php.net/pman
If the pear version is old, you must upgrade the pear to continue.
Sudo pear upgrade pear
Pman usage
Pman is a dumb. for example, we want to view the help information of strlen:
Pman strlen
The help text is color-coded and comparable to the chm version of php help documentation. Pman's detailed help is as follows:
# Pman -- help
Man, version 1.6c
Usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
[-M system] [-p string] name...
A: find all matching entries
C: do not use cat file
D: print gobs of debugging information
D: as for-d, but also display the pages
F: same as whatis (1)
H: print this help message
K: same as apropos (1)
K: search for a string in all pages
T: use troff to format pages for printing
W: print location of man page (s) that wocould be displayed
(If no name given: print directories that wocould be searched)
W: as for-w, but display filenames only
C file: use 'file' as configuration file
M path: set search path for manual pages to 'path'
P pager: use program 'pager' to display pages
S list: colon separated section list
M system: search for alternate system's man pages
P string: string tells which preprocessors to run
E-[n] eqn (1) p-pic (1) t-tbl (1)
G-grap (1) r-refer (1) v-vgrind (1)
Another advantage is that it is more convenient to view the php help information in vim.
:! Pman strlen
Installing pman using the legendary pear to install pman sudo pear install doc.php.net/pman if the pear version is older, you need to upgrade pear to continue sudo pe...