get_included_files函数
来源:互联网 发布:仿 购物商城 app 源码 编辑:程序博客网 时间:2024/06/05 14:19
get_included_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";}?>
显示为
abc.phptest1.phptest2.phptest3.phptest4.php
0 0
- get_included_files函数
- php---get_included_files — 返回被 include 和 require 文件名的 array
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- 函数
- Arduino 舵机介绍及常用函数
- 圆周率问题
- 蜜汁错误
- C--字符串操作函数
- 栈回溯技术及uClibc的堆实现原理
- get_included_files函数
- poj2955(括号匹配问题)
- Spring 实现动态注册Bean
- 欢迎使用CSDN-markdown编辑器
- SAP推出下一代数字转型平台SAP HANA 2
- 更新订单内多个商品的数量---在存在相同商品id时。
- 从1到n整数中1出现的次数
- 笔记
- DP 数字三角形+找钱问题