Home > Backend Development > PHP Tutorial > Introduction to php document update_PHP tutorial

Introduction to php document update_PHP tutorial

WBOY
Release: 2016-07-21 15:26:38
Original
912 people have browsed it

The simple trial experience is as follows:
Install pman
Use the legendary pear to install pman
sudo pear install doc.php.net/pman

If the pear version is older, you need to upgrade it first pear before you can continue

sudo pear upgrade pear

How to use pman
The way to use pman is very stupid. For example, we want to view the help information of strlen:

pman strlen

The content of the help text is in color, comparable to the chm version of the php help document. The detailed usage help of pman 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 would be displayed
(if no name given: print directories that would 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 php help information in vim, and the combination is perfect

 :!pman strlen

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/323917.htmlTechArticleThe simple trial experience is as follows: Install pman Use the legendary pear to install pman sudo pear install doc.php.net /pman If the pear version is older, you need to upgrade pear before you can continue sudo pe...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template