Re: [PHP-DEV] get_included_files From: Andi Gutmans (andi <email protected>)
Date: 12/11/00

Only scripts that are include_once()'ed or require_once()'ed are added to
the included_files.
The reason include()/require() don't do that is because they don't check
the full path of the file and the hash to see if the file has been included
yet. Doing this would likely slow them down a bit. Maybe we should just put
the relative path in the Hash?

Andi

At 06:56 PM 12/10/00 -0800, Alex Black wrote:
>get_included_files only shows files that have the .php extension.
>
>I would love you all so much if you could make that work when the next
>release comes out :)
>
>I've got a killer debug module that wants to list all included files, but
>can't ):
>
>_a
>
>
>--
>Alex Black, Head Monkey
>enigma <email protected>
>
>The Turing Studio, Inc.
>http://www.turingstudio.com
>
>vox+510.666.0074
>fax+510.666.0093
>
>Saul Zaentz Film Center
>2600 Tenth St Suite 433
>Berkeley, CA 94710-2522
>
>
>
>
>
>--
>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>

---
Andi Gutmans <andi <email protected>>
http://www.zend.com/

-- 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>