1<?php
2// This file is example#1
3// from http://www.php.net/manual/en/function.get-included-files.php
4
5include 'test1.php';
6include_once 'test2.php';
7require 'test3.php';
8require_once 'test4.php';
9
10$included_files = get_included_files();
11
12foreach ($included_files as $filename) {
13    echo "$filename\n";
14}
15