Php document update

Source: Internet
Author: User
Php.net recently updated the php document. it is useful to use the new pman tool. Pman is a command line tool that allows you to conveniently view the local help documentation for php functions, but does not contain comment data from php.net. Simple trial: install pman and install pmansudopearinstalldoc.php.net/pmanif pear

Php.net recently updated the php document. it is useful to use the new pman tool. Pman is a command line tool that allows you to conveniently view the local help documentation for php functions, but does not contain comment data from php.net. The following is a simple trial:

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

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.