PHP选项与资讯函数库

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( )


上一页 首页