【软件推荐】PHPXref,PHP源码阅读利器
今天给大家推荐一个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-8
参考:http://www.awflasher.com/blog/archives/1079