In case you run into a cross-platform issue when retrieving the sub-path , use FilesystemIterator::UNIX_PATHS flag to fix it
(PHP 5 >= 5.1.0, PHP 7)
RecursiveDirectoryIterator::getSubPathname — Get sub path and name
Gets the sub path and filename.
本函数还未编写文档,仅有参数列表。
此函数没有参数。
The sub path (sub directory) and filename.
In case you run into a cross-platform issue when retrieving the sub-path , use FilesystemIterator::UNIX_PATHS flag to fix it