note 30102 deleted from function.get-included-files by sniper
| From: | sniper@php.net | Date: | Thu, 25 Sep 2003 17:24:31 +0000 |
| Subject: | note 30102 deleted from function.get-included-files by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57123@lists.php.net to get a copy of this message | ||
Note Submitter: jason.dumler@advance-auto.com
----
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'
)