PHP调用图实用程序? [英] PHP call graph utility?

查看:102
本文介绍了PHP调用图实用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找类似于gprof的实用程序,它将为PHP生成调用图代码.我希望可以产生图形输出,或者至少可以由GraphViz或类似功能解释的文本输出,但是我会选择纯文本输出.

I'm looking for a utility similar to gprof that will generate a call graph for PHP code. I'd prefer something that can produce graphical output, or at least text output that can be interpreted by GraphViz or similar, but I'll settle for plain text output.

有人知道有什么工具可以做到这一点吗?

Does anyone know of any tool that can do this?

推荐答案

我肯定会尝试 Doxygen .它具有对PHP的支持,并且它创建的调用图和调用者图在以前对我来说探索外部代码"时非常有用.

I would definitely try Doxygen. It has support for PHP, and the call graphs and caller graphs it creates have been very useful in exploring "foreign code" for me previously.

这篇关于PHP调用图实用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆