作为程序员一定要保持良好的睡眠,才能好编程

php获取某个目录下所有文件 glob 的使用方法

发布时间:2019-07-07


// 加载所有Applications/*/start.php,以便启动所有服务
foreach(glob(__DIR__.'/Applications/*/start*.php') as $start_file)
{
    require_once $start_file;
}