유용한 함수 get_included_files

 
가끔 에디터로 프로그램 작업을 하다 보면
 
어떤 파일이 인클루드 되었는지 헷갈릴때가 있습니다.
그럴때 이전에 어떤 파일들이 include 나 require 되었는지 확인하는 함수 입니다.
 
get_included_filesReturns an array with the names of included or required files
 
array get_included_files ( void )
Gets the names of all files that have been included using include(), include_once(), require() or require_once().
 
 
사용법
$included_files = get_included_files();

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

이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 바람부는데로

,
Response
No Trackback , No Comment
RSS :
http://apmusers.com/tt/dbckdghk/rss/response/118

Trackback URL : http://apmusers.com/tt/dbckdghk/trackback/118

« Previous : 1 : ... 6 : 7 : 8 : 9 : 10 : 11 : 12 : 13 : 14 : ... 101 : Next »

블로그 이미지

유창화의 블로그(사진은 10년전 모습)

- 바람부는데로

Archives

Calendar

«   2012/05   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

이올린 추천글

Site Stats

Total hits:
247916
Today:
30
Yesterday:
116