php文档更新介绍
程序员文章站
2022-05-31 10:22:10
简单的试用心得如下: 安装pman 使用传说中的pear来安装pman sudo pear install doc.php.net/pman 如果pear版...
简单的试用心得如下:
安装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
推荐阅读
-
ini_set('memory_limit', '128M')、php.ini memory_limit引起的问题详细介绍
-
详细介绍PHP JSON类库应用范例_PHP教程
-
编写Smarty插件在模板中直接加载数据的详细介绍_PHP
-
php判断注入的10个方法介绍_PHP教程
-
php导出word文档与excel电子表格的简单示例代码_PHP
-
php有哪些主流的框架请大家伙儿介绍些
-
php正则 php正则校验用户名介绍
-
Xdebug文档(二)变量显示特性,xdebug文档_PHP教程
-
php+mysqli实现批量执行插入、更新及删除数据的方法_php技巧
-
php在程序中将网页生成word文档并提供下载的代码_php实例