请问:有什么方法在运行时列出当前php文件的所有包含文件? get_included_files感觉这个方法好 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 get_included_files 或者 get_required_files手册上的例子:<?phpinclude 'test1.php';include_once 'test2.php';require 'test3.php';require_once 'test4.php';$included_files = get_included_files();foreach ($included_files as $filename) { echo "$filename\n";}?> 关于PhP的初级问题,急! 经典问题如何经典解决PHP FOR LINUX? 为什么SPAN标签能隐藏啊? JS和JSP的语法一样吗? 关于php url重写 (100分)请问 如何送POST命令 实现上传图片 PHP的GD库做饼图的例子有没有? PHP表单问题 人气不旺,散分90 如何针对性的抓取网站代码? 关于字符串替换的问题,感觉很麻烦,高手进 如果觉得分不够,我可以再加 毕业设计瓶颈处。关于WORD文档的处理
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';$included_files = get_included_files();foreach ($included_files as $filename) {
echo "$filename\n";
}?>