怎么打印出一个文件中所包含的类文件

WBOY
Release: 2016-06-13 12:08:28
Original
1148 people have browsed it

如何打印出一个文件中所包含的类文件
前提是这样的,一个文件中包含一个文件或类,它所包含的文件又包含别的类,这样层层嵌套,乱七八糟,这种情况要是打印出它所包含的类文件就能明显的看出逻辑轨迹,不知用啥办法能实现这一梦想呢
------解决思路----------------------
我一般用phpcoverage来搞这种情况   其实是测试人员为了保证90%的代码覆盖率用的  公司所有开发机都部署了此环境
所用文件执行了那几行都能显示出来    就是搭这个环境需要xdebug    xml等东西   特别折腾人 

不知其他人又还没有更好的方式?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!