Re: get_included_files

From: Date: Mon, 11 Dec 2000 05:44:27 +0000
Subject: Re: get_included_files
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-40792@lists.php.net to get a copy of this message
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@turingstudio.com 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@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#40792) next »