Re: [PHP-DEV] Any way of finding out what files have been included? From: Andrei Zmievski (andrei <email protected>)
Date: 03/02/01

On Fri, 02 Mar 2001, Neil Kimber wrote:
> I'm testing for efficiency and realise that it's possible that some pages
> include files, that in turn include files, that in turn etc....
>
> Some of these includes are probably not needed and are bloating my site. Is
> there an easy way to determine which files have currently been loaded via
> includes and requires? This would help me to create an include file audit
> check and allow me to identify unnecessary bloat.

get_included_files()

-Andrei

"I think it would be a good idea." -- Mahatma Gandhi,
when asked what he thought of Western civilization...

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>