Re: ability to find include files...
| From: | Andrew Ballard | Date: | Sun, 16 Nov 2008 00:44:35 +0000 |
| Subject: | Re: ability to find include files... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283326@lists.php.net to get a copy of this message | ||
On Sat, Nov 15, 2008 at 6:07 PM, bruce <bedouglas@earthlink.net> wrote:
>
> Hi list...
>
> starting to go through a debug/understanding session of a couple of php web
> apps. i'm wondering if there's any kind of tool/method that i can use to see
> which files are accessed/included/required when a given page is displayed..
>
> this would allow me to quickly understand the "flow" of the apps. searching
> via google hasn't really turned up anything...
>
> thoughts/comments/pointers welcome.
>
> thanks!
>
Yes. How about get_included_files().
http://www.php.net/get_included_files
Andrew