<div dir="ltr">Hi Rabin and all!<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 15, 2016 at 3:43 PM, Rabin Yasharzadehe <span dir="ltr"><<a target="_blank" href="mailto:rabin@rabin.io">rabin@rabin.io</a>></span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Hello everyone, <br><br></div><div style="font-family:tahoma,sans-serif">I inherited a legacy application/code which was originally written in PHP4, and letter on was "upgraded" to PHP5.<br><br></div><div style="font-family:tahoma,sans-serif">the code is (mostly) a collection of individual pages which are stitched some how together to form a working web-application. <br><br></div><div style="font-family:tahoma,sans-serif">the code base is quite big and I'm looking for a tool which can create some sort of a (visual) work-flow view of the code, just so I could get a overview of the application.<br><br></div><div style="font-family:tahoma,sans-serif">I googled a bit and found a tool called phpCallGraph which won't run and it seems is not minted any more.<br><br></div><div style="font-family:tahoma,sans-serif">Some one on <a target="_blank" href="http://stackoverflow.com/questions/2719734/php-application-flow-graph-or-function-call-graph">stackoverflow</a> suggested to use xdebug profiling option and visualize the result with KCacheGrind, but it didn't give me what is hopping for - a workflow.<br><br></div><div style="font-family:tahoma,sans-serif">Do anyone have any suggestion for a tool which can help me to get a work-flow for the application ?<br></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">Thanks in advance<br></div><div style="font-family:tahoma,sans-serif"><br clear="all"></div></div></blockquote><div><br></div><div>I don't have a 100% working suggestion off hand, but perhaps this old article about reflecting/introspecting PHP code will help - <a href="http://www.onlamp.com/pub/a/php/2007/04/26/code-as-data-reflection-in-php.html">http://www.onlamp.com/pub/a/php/2007/04/26/code-as-data-reflection-in-php.html</a> . In addition, perhaps writing something using a PHP parser will work.<br clear="all"></div></div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Shlomi Fish <a target="_blank" href="http://www.shlomifish.org/">http://www.shlomifish.org/</a><br><br>You can never truly appreciate The Gilmore Girls until you've watched it in the original Klingon.<br><br>Please reply to list if it's a mailing list post - <a target="_blank" href="http://shlom.in/reply">http://shlom.in/reply</a> .<br></div></div></div></div>
</div></div>