php文档更新介绍
作者:bea
简单的试用心得如下: 安装pman 使用传说中的pear来安装pman sudo pear install doc.php.net/pman 如果pear版本比较老,需要先升级pear才可以继续 sudo pear upgrade pear pman使用方法 pman的使用方法很傻瓜,比如我们想查看strlen的帮助信息: pman strlen 帮助文本的内容是彩色的,能和chm版本的php帮助文档媲美。pman的详细使用帮助如下 #
简单的试用心得如下:
安装pman
使用传说中的pear来安装pman
sudo pear install doc.php.net/pman
如果pear版本比较老,需要先升级pear才可以继续
sudo pear upgrade pear
pman使用方法
pman的使用方法很傻瓜,比如我们想查看strlen的帮助信息:
pman strlen
帮助文本的内容是彩色的,能和chm版本的php帮助文档媲美。pman的详细使用帮助如下
#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)
还有一个好处是在vim里查看php帮助信息更方便了,结合完美
:!pman strlen
有用 | 无用
安装pman
使用传说中的pear来安装pman
sudo pear install doc.php.net/pman
如果pear版本比较老,需要先升级pear才可以继续
sudo pear upgrade pear
pman使用方法
pman的使用方法很傻瓜,比如我们想查看strlen的帮助信息:
pman strlen
帮助文本的内容是彩色的,能和chm版本的php帮助文档媲美。pman的详细使用帮助如下
#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)
还有一个好处是在vim里查看php帮助信息更方便了,结合完美
:!pman strlen
有用 | 无用
猜你喜欢
您可能感兴趣的文章:
- 10条PHP高级技巧[修正版]
- PHP获取url的函数代码
- 给初学者的30条PHP最佳实践(荒野无灯)
- 使用ThinkPHP自带的Http类下载远程图片到本地的实现代码
- linux下使用ThinkPHP需要注意大小写导致的问题
- 理解和运用PHP中的多态性[译]
- PHP源代码数组统计count分析
- linux下为php添加curl扩展的方法
- php中修改浏览器的User-Agent来伪装你的浏览器和操作系统
- php 判断访客是否为搜索引擎蜘蛛的函数代码
- php.ini中date.timezone设置分析
- PHP调用Webservice实例代码
- php和数据库结合的一个简单的web实例 代码分析 (php初学者)
- 一个典型的PHP分页实例代码分享
- 新手学习PHP的一些基础知识分享
- php XPath对XML文件查找及修改实现代码
- PHP文件上传后缀名与文件类型对照表整理
- php模拟socket一次连接,多次发送数据的实现代码
- PHP里的中文变量说明