遍历指定目录下的所有目录和文件的php代码 复制代码 代码如下: <?php function listFiles($path){ $result = array(); foreach(glob($path PHP编程 2022-04-03 72 点赞 1 评论 109 浏览