note 30102 added to function.get-included-files

From: Date: Thu, 06 Mar 2003 12:35:07 +0000
Subject: note 30102 added to function.get-included-files
Groups: php.notes 
Request: Send a blank email to php-notes+get-44938@lists.php.net to get a copy of this message
When using this function under Windows 2000 with PHP 4.3.0 and running from the command line, the first value in the array is the actual file I was running. i.e.: putting the following in 'C:\PHP\index.php' <? $fileList = get_included_files(); print_r($fileList); ?> Would output this: Array ( [0] => 'C:\PHP\index.php' ) -- http://www.php.net/manual/en/function.get-included-files.php http://master.php.net/manage/user-notes.php?action=edit+30102 http://master.php.net/manage/user-notes.php?action=delete+30102 http://master.php.net/manage/user-notes.php?action=reject+30102

« previous php.notes (#44938) next »