PHP Document Update

Source: Internet
Author: User
Tags documentation pear strlen

Php.net recently updated the PHP documentation, the more useful is the new Pman tool. Pman is a command-line gadget that facilitates viewing the local Help documentation for PHP functions, but does not contain php.net comment data. The simple trial experience is as follows:

Install Pman

Use the legendary pear to install the Pman


sudo pear install Doc.php.net/pman

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


sudo pear upgrade Pear

How to use Pman

The use of Pman is a fool, for example, we want to view the Help information for strlen:


Pman strlen

The content of the help text is colored and comparable to the CHM version of the PHP help document. Pman's detailed use 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 the pages for printing

W:print Location of man page (s) that would is displayed

(If no Name given:print directories that would is 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's more convenient to look at the PHP help in Vim, combined with the perfect


:!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.