找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1410|回复: 0
打印 上一主题 下一主题

php文档更新介绍

[复制链接]

2487

主题

2487

帖子

7391

积分

论坛元老

Rank: 8Rank: 8

积分
7391
跳转到指定楼层
楼主
发表于 2018-2-14 08:39:56 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

            简单的试用心得如下:
  安装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
            
            
        
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

用户反馈
客户端