get_included_files

(PHP4 >= 4.0RC1)

get_included_files --  Returns an array with the names of the files include_once()'d in a script

Description

array get_included_files (void)

This function returns an associtative array of the names of all the files that have been loaded into a script using include_once(). The indexes of the array are the file names as used in the include_once() without the ".php" extension.

Note: As of PHP 4.0.1pl2 this function assumes that the include_once files end in the extension ".php", other extensions do not work.

See also: require_once(), include_once(), get_required_files()