多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 示例 ``` $files = scandir('.', SCANDIR_SORT_DESCENDING); print_r($files); //Array //( // [0] => phpinfo.php.old // [1] => php_err.log // [2] => php.log // [3] => index.php // [4] => a.php // [5] => .. // [6] => . //) $files = scandir('.', SCANDIR_SORT_ASCENDING); print_r($files); //Array //( // [0] => . // [1] => .. // [2] => a.php // [3] => index.php // [4] => php.log // [5] => php_err.log // [6] => phpinfo.php.old //) ```