get_required_files

(PHP 4 >= 4.0RC2)

get_required_files --  Returns an array with the names of the files require_once()'d or included_once()'d in a script

Description

array get_required_files (void)

This function returns an array of the names of all the files that have been loaded into a script using require_once() or include_once().

Note: In PHP 4.0.1pl2 this function assumed that the required_once files end in the extension ".php", other extensions do not work. Also, in that version the array returned was an associative array, and this function was not an alias for get_included_files()

As of PHP 4.0.4, this function is an alias for get_included_files()

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