Re: Need tool to graphically show all includes/requires

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



# daevid@xxxxxxxxxx / 2007-01-19 16:52:49 -0800:
> We have a fairly complex product that is all PHP based GUI.
> 
> We're in need of some kind of "graphical tool" (web, stand alone, windows,
> linux, osx whatever) that will take a directory tree, recursively traverse
> all the files, look for 'includes' and 'requires' (and the _once versions
> too) and then map them out so we can see what files are calling what and
> where.

That's impossible to tell exactly without running the software you're
studying. What would you map this to?

function include_($file) { include $file; }

Or this?

define('FOO_INLCUDE_DIR', '/some/path');
include FOO_INLCUDE_DIR . '/file.php';

The recursive part is easy:

find $topsrcdir -name \*.php -print0 | xargs -0n1 processing-script-for-one-file

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux