日期:2014-05-17 浏览次数:20531 次
今天给大家推荐一个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\htdocs SOURCE=D:\http_root\answer # The directory in which you'd like the output to be written #OUTPUT=C:\phpxref\output OUTPUT=D:\code_review\output # Project name; something short PROJECT=Answer # Character set to specify for generated HTML CHARSET=utf-83. 双击执行phpxref.exe
参考:http://www.awflasher.com/blog/archives/1079