网络编程 
首页 > 网络编程 > 浏览文章

php文档更新介绍

(编辑:jimmy 日期: 2024/9/26 浏览:3 次 )
简单的试用心得如下:
  安装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
上一篇:PHP FOR MYSQL 代码生成助手(根据Mysql里的字段自动生成类文件的)
下一篇:php 数据库字段复用的基本原理与示例
一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。
友情链接:杰晶网络 DDR爱好者之家 南强小屋 黑松山资源网 白云城资源网 SiteMap