Hi everyone,
I used some spare time at the 24C3 to compile a new release of PHPCallGraph.
While PHPCallGraph was initially developed for object-oriented code,
this release adds the ability to analyze user-defined functions.
Also code in the global scope (outside any functions or methods) can now be
analyzed with the help of a little workaround: Such code can be manually wrapped
in a dummy function called dummyFunctionForFile_filename_php() which will then
be recognized by PHPCallGraph.
Of course this is not very elegant but currently the only feasible way due to
some conceptual restrictions resulting from the utilization of the InstantSVC
CodeAnalyzer.
Download PHPCallGraph v0.6.4 at http://phpcallgraph.sourceforge.net
Happy New Year!
Falko
|