今天给大家推荐一个php源码阅读利器:phpxref,可以很方便的看到函数定义的位置,类似于sourceinsight。
下载地址:http://sourceforge.net/projects/phpxref/
安装方法:
1. 直接解压phpxref.zip到目录a
2. 进入目录a,编辑phpxref.cfg文件,更改如下设置四项设置:source, output, project, charset
# the base directory containing all of your php code to be indexed# this could just be a directory containing symlinks to the real directories#source=c:\webserver\sites\www.myhost.com\htdocssource=d:\http_root\answer# the directory in which you'd like the output to be written#output=c:\phpxref\outputoutput=d:\code_review\output# project name; something shortproject=answer# character set to specify for generated htmlcharset=utf-8
3. 双击执行phpxref.exe参考:http://www.awflasher.com/blog/archives/1079
