PHP - Manual: RecursiveDirectoryIterator::getChildren
2024-11-15
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
RecursiveDirectoryIterator::getChildren — Returns an iterator for the current entry if it is a directory
此函数没有参数。
The filename, file information, or $this depending on the set flags. See the FilesystemIterator constants.
官方地址:https://www.php.net/manual/en/recursivedirectoryiterator.getchildren.php