<?php
include 'test1.php';
include_once 'test2.php';
include_once 'test21.php';
require 'test3.php';
require_once 'test4.php';

$included_files = get_included_files();

foreach ($included_files as $filename) {
    echo "$filename\n";
}
