In PHP 4.0.1pl2 and previous versions get_required_files() assumed that the required files ended in the extension .php, other extensions would not be returned.
This function returns an associtative array of the names of all the files that have been loaded into a script using require_once(). The indexes of the array are the file names as used in the require_once() without the ".php" extension.