Home  >  Article  >  Backend Development  >  【软件推荐】PHPXref,PHP源码阅览利器

【软件推荐】PHPXref,PHP源码阅览利器

WBOY
WBOYOriginal
2016-06-13 12:58:41922browse

【软件推荐】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
3. 双击执行phpxref.exe

参考:http://www.awflasher.com/blog/archives/1079



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn