get_included_files
(PHP4 >= 4.0RC1)
get_included_files --- 傳回在程式中include_once( )檔案的名稱
語法 :
array get_included_files(void)說明 :
此函式傳回使用include_once( )已經載入到程式的所有檔案的名稱,此函式將傳回一組合陣列,陣列的索引值是使用在include_once( )中而沒有".php"的檔案名稱。
注意 : 在PHP 4.0.1pl2中,這個函式假定此include_once檔案以擴充的".php"為結果,其它的擴充將不運作。
參考 : require_once( ) include_once( ) get_required_files( )